forked from ansible/django-ansible-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use updated heuristic for identifying locally managed roles (ansible#562
) See the prior criteria `if permission_registry.get_resource_prefix(model) == 'shared':`, I always knew this wasn't perfect and would, at some point, kind of not work. This is hard to talk out - whether or not you can do permission management is going to be kind of divorced from whether the permissions that role gives are for shared resources. I still don't think you should be able to create custom roles that give - team membership or change permission --> covered by `ANSIBLE_BASE_ALLOW_CUSTOM_TEAM_ROLES` - organization "change" permission --> kind of tough, added criteria back here to cover this The PR ansible#486 essentially introduced a new distinction of RoleDefinitions, where some are external, and some are local, determined by the setting. This distinction is completely separate from whether shared resources are managed by the roles.
- Loading branch information
1 parent
d0459fb
commit e533ddc
Showing
8 changed files
with
66 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters