fix page blank for 403 forbidden.
This commit is contained in:
parent
6b904a37ad
commit
26f99c296f
|
@ -91,7 +91,8 @@ private
|
||||||
|
|
||||||
def check_if_user_can_do_object_auth
|
def check_if_user_can_do_object_auth
|
||||||
unless check_permission(:manager)
|
unless check_permission(:manager)
|
||||||
render :nothing => true, :status => 403
|
#render :nothing => true, :status => 403
|
||||||
|
redirect_to '/'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue