User display preferences options


#1

Hello,

I’m trying to give group administrator power to show/hide different
components on group page according to user status (public (no login
required), group members(logged in) and website members (logged in))

I thought to have preferences tables to store true/false value for every
section and then do check for every section in the view according to the
preference and user status.

Is this the best way to do it? is there simpler way/plugin that might
achieve this better?

Thanks,

Tam


#2

What you’re dealing with is the authenticate / authorize sequence.

Authenticate covers topics such as login / password / session access
to the site.
Authorize covers role (or other) based access within the site.

Google either for gems / plugins / discussions


#3

restful_authentication plugin.
also has roles for authorization.


http://railsforum.com/viewtopic.php?id=14216