mirror of
https://github.com/ansible/awx.git
synced 2026-04-08 03:29:21 -02:30
Removed unused dashboard inventory graph, doubly useless now that active flag is gone
This commit is contained in:
@@ -117,6 +117,7 @@ class ModelAccessPermission(permissions.BasePermission):
|
||||
check_method = getattr(self, 'check_%s_permissions' % request.method.lower(), None)
|
||||
result = check_method and check_method(request, view, obj)
|
||||
if not result:
|
||||
print('Yarr permission denied: %s %s' % (repr(obj), request.method))
|
||||
raise PermissionDenied()
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user