diff options
author | Akita Noek <anoek@ansible.com> | 2016-07-14 15:53:20 +0200 |
---|---|---|
committer | Akita Noek <anoek@ansible.com> | 2016-07-14 15:53:20 +0200 |
commit | 7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd (patch) | |
tree | 4c68d90f0f2e4027791d987aed1dc9183e9e64b3 /awx/main/access.py | |
parent | Merge pull request #2888 from jlmitch5/fixTableRowLayout (diff) | |
download | awx-7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd.tar.xz awx-7b8c2f5b7491ff3dd5fba16698c6d9fd332464bd.zip |
Normalized CustomInventoryScriptAccess.can_admin
Diffstat (limited to '')
-rw-r--r-- | awx/main/access.py | 2 |
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 |