mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 08:57:33 -02:30
remove can_update from RBAC checks
This commit is contained in:
@@ -816,7 +816,7 @@ class InventorySourceAccess(BaseAccess):
|
||||
|
||||
def can_start(self, obj, validate_license=True):
|
||||
if obj and obj.inventory:
|
||||
return obj.can_update and self.user in obj.inventory.update_role
|
||||
return self.user in obj.inventory.update_role
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user