-
Story
-
Resolution: Done
-
Normal
-
None
-
2
-
False
-
-
False
-
Unset
-
None
-
Platform-Infra Sprint 47, Platform-Infra Sprint 48, Platform-Infra Sprint 49
As an org admin user, I want to restore the Default Access group so that I can recover from unintentional changes made to that group.
Changing the Default Access group changes its name to Custom default access. Any new roles that Red Hat adds to the Default access group will not be picked up once the group on my account is modified and renamed.
Modifying the Default Access group should not be a one-way event.
---
Dev notes
- We can make use of our existing DELETE method on /groups/<uuid>/ which the UI can call directly for the group. We'll just need to update our check to be group.system vs group.platform_default - https://github.com/RedHatInsights/insights-rbac/blob/a5d73780a989a3adced2de1a0106070a26e529f0/rbac/management/group/view.py#L157
- Once deleted, queries will fall back to use the default access group: https://github.com/RedHatInsights/insights-rbac/blob/a5d73780a989a3adced2de1a0106070a26e529f0/rbac/management/querysets.py#L96-L98
- To test, since the UUID is different between custom and non-custom default access groups, you can use the platform_default=true filter to grab the default group.
- relates to
-
RHCLOUD-19284 Custom default access page updates
- Closed
- links to