mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 20:01:48 -05:00
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