Draft: Update mutation to create security policy project for group
requested to merge 347069-update-graphql-mutation-to-create-security-policy-project-for-a-group into master
What does this MR do and why?
This change modifies mutation to create security policy project. It changes the name of the argument from projectPath
(and deprecates it) to fullPath
.
And allows to create security policy project for a group (with feature flag enabled).
How to set up and validate locally
- Create a new group.
- Enable feature flag for your group in
rails console
:Feature.enable(:group_level_security_policies, group)
- Go to GraphQL Explorer and run to create project to your group:
mutation {
securityPolicyProjectCreate(input: { fullPath: "your-group" }) {
errors
project {
id
}
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #347069 (closed)
Edited by Alan (Maciej) Paruszewski