User display preferences options

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

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

restful_authentication plugin.
also has roles for authorization.

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