Skip to content
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

authlogic and declarative_authorization #2

Open
adik opened this issue May 6, 2009 · 1 comment
Open

authlogic and declarative_authorization #2

adik opened this issue May 6, 2009 · 1 comment

Comments

@adik
Copy link

adik commented May 6, 2009

Maybe, should use after_persisting callback in user_session.rb model instead of before_save :set_current_user_for_model_security in user model?

In your case, can't manage user object by other( admin privilege ).

see "persisting?" in Authlogic::Session::Persistence::InstanceMethods

@adik
Copy link
Author

adik commented May 6, 2009

I forget about reset_perishable_token! :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant