mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Removed pirate debugging statement
This commit is contained in:
@@ -117,7 +117,6 @@ class ModelAccessPermission(permissions.BasePermission):
|
|||||||
check_method = getattr(self, 'check_%s_permissions' % request.method.lower(), None)
|
check_method = getattr(self, 'check_%s_permissions' % request.method.lower(), None)
|
||||||
result = check_method and check_method(request, view, obj)
|
result = check_method and check_method(request, view, obj)
|
||||||
if not result:
|
if not result:
|
||||||
print('Yarr permission denied: %s %s %s' % (request.method, repr(view), repr(obj),)) # TODO: XXX: This shouldn't have been committed but anoek is sloppy, remove me after we're done fixing bugs
|
|
||||||
raise PermissionDenied()
|
raise PermissionDenied()
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user