This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 68770315bf47b707f2545861741f8222e34bdf65
tree 40fea6f130a632d51b3c509be57be72d96b2fa72
parent cd217bf430f7a3323eb355ef9c354fe199d6e572
tree 40fea6f130a632d51b3c509be57be72d96b2fa72
parent cd217bf430f7a3323eb355ef9c354fe199d6e572
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Wed Sep 03 01:43:28 -0700 2008 | |
| |
README | Thu Sep 04 01:19:40 -0700 2008 | |
| |
Rakefile | Wed Sep 03 01:43:28 -0700 2008 | |
| |
generators/ | Wed Sep 03 02:49:38 -0700 2008 | |
| |
init.rb | Wed Sep 03 01:43:28 -0700 2008 | |
| |
install.rb | Wed Sep 03 01:43:28 -0700 2008 | |
| |
lib/ | Wed Sep 03 01:43:28 -0700 2008 | |
| |
tasks/ | Wed Sep 03 01:43:28 -0700 2008 | |
| |
test/ | Wed Sep 03 01:43:28 -0700 2008 | |
| |
uninstall.rb | Wed Sep 03 01:43:28 -0700 2008 |
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 ===========================================================================







