-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug permission redirect - logs out users #22
Comments
Ai timp sa trimiti un PR? :) |
Da, incerc sa trimit un PR pana maine-seara. 😄 |
merci!
…On 27 Jul 2017, 12:20 +0200, DarkyAngel ***@***.***>, wrote:
Da, incerc sa trimit un PR pana maine-seara. 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ci
pushed a commit
to ci/volunt-app
that referenced
this issue
Jul 27, 2017
Related to issue itccsro#22, instead of logging of the users anytime there is a permission issue, now the user will be redirected to a permission_error page that does not log him off. If the user was not logged in in the first place, the behavior is not changed, the user will be redirected to the login page with a relevant message instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More like a minor bug, cand un user acceseaza orice zona fara permisiuni, este logged out direct. Fiindca
authorization_required
dinapp/controllers/concerns/login_concern.rb
face redirect la login_path cu notice, functia delogin
dinapp/controllers/static_controller.rb
apeleazalogout_user
first.Asta daca nu e intended pentru moment? Cred ca o functionalitate default ar fi sa afiseze notice-ul si o posibilitate de go back / go to the homepage in loc sa delogheze userul de fiecare data.
The text was updated successfully, but these errors were encountered: