FE: Disable "Edit Policy" button for inherited policies
Why are we doing this work
- with inherited policies showing up on the policies list, a user should not be able to edit the inherited policy from its current location (e.g. this project/group/namespace/instance). They must go to the group/namespace/instance level to change the policy so they understand the consequences
Relevant links
Non-functional requirements
- Documentation:
- Testing:
Implementation plan
- frontend modify scan_execution_policies graphql query to retrieve source information (whether it was inherited or not)
-
frontend modify policy_drawer.vue to conditionally disable the
Edit policy
button