fix for 403 for new interface
This commit is contained in:
parent
26f99c296f
commit
fc4e2ceba5
|
@ -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