views:

50

answers:

2

Can someone please point to some docs or links which show how to create a single entry point ( similar to CMS like Joomla ) web app in Rails. I need to create a web app in Rails where there will a lot of places which will have restricted access based on whether the logged in user has paid for that functionality.

A: 

You may wanna see Authorization with CanCan and Declarative Authorization screen casts.

khelll
A: 

Get familiar with ActionController::Filters::ClassMethods #before_filter. You can create one controller that has a before_filter which handles all your ACS needs. Then you can extend that controller to implement specific ACS-restricted actions.

Chris