Add an `AccessPolicy.customized` field to tell if a user has customized one or not
Developers ship a default access policy and users can customize it. At some point later developers will need to adjust the default policy, but this should only happen if a user has not already customized it. Right now it would be difficult to determine if the user customized it or not.
Add a field to AccessPolicy called
customized which defaults to False. Any user change to the policy will set this to True.
Added by bmbouter over 2 years ago
AccessPolicy.customized fields is a read-only field that defaults
to False. If True, it indicates that the user has modified the policy.
This will be useful for:
- Users to see how a system's RBAC has been modified
- Plugin writers who want to ship changes or bugfixes to default policies they previously shipped and don't want to overwrite a user's custom policy.