mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
typo fix
This commit is contained in:
@@ -645,7 +645,7 @@ class ProjectAccess(BaseAccess):
|
|||||||
def can_add(self, data):
|
def can_add(self, data):
|
||||||
if self.user.is_superuser:
|
if self.user.is_superuser:
|
||||||
return True
|
return True
|
||||||
qs = Organization.accessible_objects(self.uesr, ALL_PERMISSIONS)
|
qs = Organization.accessible_objects(self.user, ALL_PERMISSIONS)
|
||||||
return bool(qs.count() > 0)
|
return bool(qs.count() > 0)
|
||||||
|
|
||||||
def can_change(self, obj, data):
|
def can_change(self, obj, data):
|
||||||
|
|||||||
Reference in New Issue
Block a user