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 On Apr 11, 8:08 pm, Tam Kbe <[email protected]> wrote: > 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 > -- > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

