github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

saturnflyer / radiant-rbac_base-extension

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 23
    • 8
  • Source
  • Commits
  • Network (8)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • edge
    • master ✓
  • Tags (0)
Sending Request…
Click here to lend your support to: radiant-rbac_base-extension and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Role Based Access Control — Read more

  cancel

http://www.saturnflyer.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

simplify _extension code 
saturnflyer (author)
Fri Jul 24 19:51:33 -0700 2009
commit  857507a22520e9e0b88d538d5de3a282e727aca1
tree    5f7a84d6a009f782de2ad58f186d3e185876b124
parent  c1b2003e949a96910a423997dc09b8c4765e7edd
radiant-rbac_base-extension /
name age
history
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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server