Forum: Ruby on Rails user display preferences options

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tam K. (Guest)
on 2009-04-12 10:08

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?


Rick (Guest)
on 2009-04-12 23:15
(Received via mailing list)
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
Ram (Guest)
on 2009-04-13 08:04
(Received via mailing list)
restful_authentication plugin.
also has roles for authorization.
This topic is locked and can not be replied to.