You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the masquerade_authorize! method is also called before the back action. In that case, however, the current user is the unprivileged user, so reverting the masquerade is denied.
The text was updated successfully, but these errors were encountered:
The example in the README for using CanCan suggests the following:
However, the
masquerade_authorize!
method is also called before theback
action. In that case, however, the current user is the unprivileged user, so reverting the masquerade is denied.The text was updated successfully, but these errors were encountered: