fix for 403 for new interface
This commit is contained in:
1 parent
26f99c296f
commit
fc4e2ceba5
1 file changed
+1
-1
@@ -62,7 +62,7 @@ class Admin::ObjectAuthsNewInterfaceController < OrbitBackendController
|
||||
|
||||
def check_if_user_can_do_object_auth
|
||||
unless check_permission(:manager)
|
||||
render :nothing => true, :status => 403
|
||||
redirect_to '/'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user