summaryrefslogtreecommitdiffstats
path: root/awx/main/access.py
diff options
context:
space:
mode:
authorAkita Noek <anoek@ansible.com>2016-07-14 15:53:20 +0200
committerAkita Noek <anoek@ansible.com>2016-07-14 15:53:20 +0200
commit7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd (patch)
tree4c68d90f0f2e4027791d987aed1dc9183e9e64b3 /awx/main/access.py
parentMerge pull request #2888 from jlmitch5/fixTableRowLayout (diff)
downloadawx-7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd.tar.xz
awx-7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd.zip
Normalized CustomInventoryScriptAccess.can_admin
Diffstat (limited to '')
-rw-r--r--awx/main/access.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/main/access.py b/awx/main/access.py
index f47198e4b0..a4e8f466b5 100644
--- a/awx/main/access.py
+++ b/awx/main/access.py
@@ -1556,7 +1556,7 @@ class CustomInventoryScriptAccess(BaseAccess):
return self.user in org.admin_role
@check_superuser
- def can_admin(self, obj):
+ def can_admin(self, obj, data=None):
return self.user in obj.admin_role
@check_superuser