Forbid deletion of special groups (users, clients, admins, billing-admins) #123
Labels
Status: Good First Issue
An issue ready for a new contributor.
Status: To be prioritized
Indicates that product needs to prioritize this issue.
Triage: Try Reproducing
Indicates that this issue needs to be reproduced.
Type: Enhancement
Adds new functionality.
We currently allow users to delete 'special' groups.
A common example is someone deleting the users group. This horribly breaks user association, and because of the way ACLs are implemented is difficult to recover from since every single object will a require ACL fix to add users back.
We should forbid deletion of those groups. Probably the most straightforward way is to add a whitelist of groups that must not be deleted and check them in oc_chef_wm_named_group:delete_resource function.
The text was updated successfully, but these errors were encountered: