I'm working on something similar right now. I created a very simple
login/authentication method and now I'm dealing with users privileges
in the site.
In my case I have posts that belongs to companies so only users from
the post's company can view them. Also each user has roles (Admin) to
edit, remove, etc and (Some Role) to view exclusive posts.
I'm taking a look to both CanCan and Canable (http://github.com/
jnunemaker/canable)
I'll keep updating. Any preference on plugin or would it be better to
write some custom code?
On Jun 1, 5:54 pm, Cristian Dlucca <li...@ruby-forum.com> wrote:
> 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.
>
> I'm 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 create other Users for his account with a different privileges.
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment