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

espace / webistrano_privileges forked from haitham/webistrano_privileges

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

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

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

A Rails plugin for Webistrano, adding user-access control to projects. — Read more

  cancel

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

This URL has Read+Write access

removed copyright 
haitham (author)
Thu Sep 04 01:19:40 -0700 2008
commit  68770315bf47b707f2545861741f8222e34bdf65
tree    40fea6f130a632d51b3c509be57be72d96b2fa72
parent  cd217bf430f7a3323eb355ef9c354fe199d6e572
webistrano_privileges /
name age
history
message
file MIT-LICENSE Loading commit data...
file README
file Rakefile
directory generators/
file init.rb
file install.rb
directory lib/
directory tasks/
directory test/
file uninstall.rb
README
WebistranoPrivileges
====================

webistrano_privileges is a simple Rails plugin that introduces access control to Webistrano-1.3. After applying the 
plugin to your working webistrano project copy, and running two shell commands, webistrano will be accomodating a simple 
access control scheme. Admins can manipulate all projects. Non-admins can manipulate only THEIR projects. Admins can add 
and remove users to projects.

What the plugin basically does is:
- it generates a migration for a many-to-many relation between users and projects.
- it generates a route and a controller for adding and removing users from projects
- it replaces some views to present the added functionality.
- it introduces some logic to secure unauthorized access to projects from non-related users. 


After installing the plugin:
============================
- run the generate command, accept whenever prompted for overwriting existing files:

  >> ruby script/generate privileges_extensions
  
- migrate

  >> rake db:migrate RAILS_ENV=production


===========================================================================
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