One Account with many users authentication in rails

Posted by Cristian on Stack Overflow See other posts from Stack Overflow or by Cristian
Published on 2010-06-01T05:01:42Z Indexed on 2010/06/01 5:03 UTC
Read the original article Hit count: 185

Which approach would you recommend to the following issue: My app needs to have an account with several users inputting tasks on the same account. Only one of the users (the one that opened the account) will have admin privileges. Im thinking on using Authlogic for authentication and CanCan for determining user privileges. The point is that I'd like the User that opened the Account to be admin by default being him the only one to be able to generate other Users for his account with a different privileges. Thanks,

CD

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about authentication