Fix standard role details path throwing error in SaaS mode
What does this MR do and why?
This MR fixes a bug where trying to get the detailsPath
for a standardRole
in GraphQL will throw an error in SaaS mode:
Before | After |
---|---|
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Run these shell commands to set your local instance to SaaS mode:
export export GITLAB_SIMULATE_SAAS=1
gdk restart
- Follow this video guide with audio commentary to set up a group with an Ultimate plan:
- Run this GraphQL query and verify that the
detailsPath
is returned successfully without errors:
query groupRoles {
group(fullPath: "twitter2") {
standardRoles {
nodes {
name
detailsPath
}
}
}
}
Related to #468353 (closed)