Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Simple rails authentication plugin

5.0
 
  0 reviews  |  2 users  |  71 lines of code  |  0 current contributors  |  Analyzed almost 2 years ago
 
 

An implementation of an authentication model with a role/permission based authorization with a rest API build it using Rails.

0
 
  0 reviews  |  1 user  |  6,569 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

Best Authorization System Ever aims to solve all the problems with authorization in small and medium-sized applications. It's very easy to use and has a very readable syntax. PROJECT MOVED TO GITHUB http://github.com/aenima/base-auth/tree/master

0
 
  0 reviews  |  0 users  |  119 lines of code  |  0 current contributors  |  Analyzed about 17 hours ago
 
 

Authnz is an example of an access control model for Ruby on Rails applications. It's based on Chad Fowler's implementations of authentication and authorization from his book, "Rails Recipes". Authnz extends the recipes with reg ex based permissions.

0
 
  0 reviews  |  0 users  |  22,249 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 

this is a collection of rails plugins which I want to share: act_as_fuzzy_search : fuzzy search/find on models audit_log : one log line per request cache_headers : setup cache behavior of http response erector_resource_generator : generate restful resource using erector as view ... [More] (erector.rubyforge.org) guard : authorization of actions parsedate : helper for parsing date from the request referrer_check : make sure the referrer is set and from your website (no deep links from outside allowed) restful_transactions : transaction boundaries for datamapper with post, put and delete requests - does not work with fastcgi or passenger !! unrestful_authentication : unrestful authentication is avoiding redirects for the login procedure error_handling: get a uniform way of handling errors in rails (alpha state) session_timeout: allows to define a idle session timeout as well an ip binding of the session [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 5 days ago
 
 

Authorization pluginThis plugin provides a flexible way to add authorization to Rails. The authorization process decides whether a user is allowed access to some feature. It is distinct from the authentication process, which tries to confirm a user is authentic, not an imposter. There are many ... [More] authentication systems available for Rails, e.g., acts_as_authenticated and LoginEngine. This authorization system will play nicely with them as long as some simple requirements are met. IMPORTANT NOTE : The SVN repository for this project on this site has been hidden. The SVN repo will no longer be updated as of 10/5/2008. You are encouraged to take a look instead at the README and our source code repository on GitHub for all code, including plugin installation. Links to both can be found below: See the README.rdoc at the git repository for examples and documentation. The git repository is here. [Less]

0
 
  0 reviews  |  0 users  |  677 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

Badges is an authorization plugin (as in "we don't need no stinking badges" http://en.wikipedia.org/wiki/Stinking_badges). It does not provide authentication capability, nor it's own User model, but instead is meant to work with other authentication plugins such as ... [More] acts_as_authenticated or restful_authentication. You will need a User model, and the 'current_user' method to be implemented at the controller level using an include. Badges relies on the following domain model: A Privilege represents a particular named capability that is checked for authorization. Roles have a set of Privileges. Privileges can belong to more than one Role. Users can have one or more Roles. Users can have a role in general, or a role on an authorizable object, or on a Class of authorizable objects. Badges enforces authorization by checking if a user has a particular privilege. Users get privileges by having roles, as each role comes with a certain set of privileges. Since what privileges a role has is stored in the database, it is easy to create new roles with different levels of privilege without needing to change any code, or to change existing roles while the application is running. There is an included UI for updating roles and privileges. Authorization can be checked at all layers of the application: view, controller, and model. View: You have the privilege to 'Are you sure?', :method => :delete %> the project! Controller: class FooController < ApplicationController # need to have 'manage foos' privilege to create, update or destroy privilege_required 'manage foos', :on=>Some::Foo :only => [:create, :update, :destroy] endModel: class Project < ActiveRecord::Base badges_authorizable_object privilege_required 'can create project'=>:create, 'can view projects'=>:find end [Less]

0
 
  0 reviews  |  0 users  |  1,427 lines of code  |  0 current contributors  |  Analyzed about 23 hours ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.