Move the creation of the parent policy list url to the backend
Why are we doing this work
The following discussion from !131223 (merged) should be addressed:
-
@aturinske started a discussion: I forgot that the security policies code manually creates the urls to parent namespaces; that should probably be moved to the backend. I will create an issue for that.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
create the parent policies list url in https://gitlab.com/gitlab-org/gitlab/-/blob/977b56d6e87f2e7ed536c99579e457ef4e55389e/ee/app/views/projects/security/policies/index.html.haml and https://gitlab.com/gitlab-org/gitlab/-/blob/977b56d6e87f2e7ed536c99579e457ef4e55389e/ee/app/views/groups/security/policies/index.html.haml and pass it up to the frontend -
remove usage of getSecurityPolicyListUrlin https://gitlab.com/gitlab-org/gitlab/-/blob/e24503a2853ee21ec1187dbe683c43362930faa4/ee/app/assets/javascripts/security_orchestration/components/policies/list_component.vue for source url