public
Description: Role Based Access Control
Homepage: http://www.saturnflyer.com
Clone URL: git://github.com/saturnflyer/radiant-rbac_base-extension.git
name age message
file .gitignore Wed Jan 28 18:15:08 -0800 2009 observe creator and updater of roles [saturnflyer]
file HELP_developer.md Wed Jan 21 19:53:58 -0800 2009 developer Help, disallow destroying standard roles [saturnflyer]
file README.markdown Thu Jan 22 05:37:35 -0800 2009 markdown syntax change [saturnflyer]
file Rakefile Tue Jan 20 11:19:49 -0800 2009 specs [saturnflyer]
directory app/ Mon Jul 20 13:40:04 -0700 2009 Radiant 0.8 compatibility updates Signed-off-b... [nbudin]
directory db/ Thu Jan 29 21:06:13 -0800 2009 proper ordering of removal of indexes and tables [saturnflyer]
directory lib/ Thu Jan 22 05:25:02 -0800 2009 allow override for admin users [saturnflyer]
directory public/ Tue Jan 20 20:31:49 -0800 2009 some lazy refactoring [saturnflyer]
file rbac_base_extension.rb Fri Jul 24 19:51:33 -0700 2009 simplify _extension code [saturnflyer]
directory spec/ Wed Jan 28 18:15:08 -0800 2009 observe creator and updater of roles [saturnflyer]
README.markdown

RBAC (Role Based Access Control) Base

This extension is used by authors of other extensions to hide those extensions from users based on admin defined groups. Standard Radiant groups consist of admin and developer. This adds the ability to create groups such as finance.

Installing:
Run 'rake radiant:extensions:rbac_base:migrate'

Installing the public files:
Run 'rake radiant:extensions:rbac_base:update'

RBAC Base adds a roles table, a roles_users table, and creates the has_and_belongs_to_many relationship between users and roles.

By default, a configuration setting will allow Admin users to see everything. You may change this by setting

Radiant::Config['roles.admin.sees_everything'] = 'false'

Then you can, for example, use extensions that require their own roles but prevent your client from seeing unimportant technical details or areas that may be beyond his or her understanding. So your client may be in the 'Admin' role so that they can manage users, but would be restricted from seeing details from your extension.

See more details in HELP_developer.md

Built by Saturn Flyer http://www.saturnflyer.com