Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
== DESCRIPTION: ==================================================================== Distributed Role-Based Access Control Service -- Restful authorization The service is provided at http://preallowed.com The source code for the service can be obtained at http://github.com/dmitryame/preallowed/tree/master , feel free to install and use the service on your local infrastructure if that's what you need. == FEATURES: ==================================================================== * Use Preallowed to implement Role-Based Access Control (RBAC) for your applications. * Preallowed is implemented as a RESTful web service, thus easiest to be accessed from any Ruby on Rails application via Active Resource. See examples at http://www.preallowed.com/home/help * The service can be access from any language that supports http API. We've tested it with Java, but other languages like C++, C#, Basic, Perl, etc... should work as well. * The source code has complete test coverage. == INSTALL ==================================================================== * Install rails 2.0.1 or later * Obtain a source code from github http://github.com/dmitryame/preallowed/tree/master * Copy ./config/database.yml.example to ./config/database.yml * Copy ./config/environment.rb.example to ./config/environment.rb (the copied files from 2 last steps will not be versioned, so feel free to tune them up according to your needs) * Run following commands rake db:create:all rake db:migrate ./script/populate_dev # you might have to give it exec permissions (chmod +x ./script/populate_dev) * Run autotest or rake to make sure all the tests pass -- this is a good indication that the install was successful. == POST INSTALL ==================================================================== * You are ready to use the Preallowed service. * Configure your Subjects, Roles, Resources using the the web application interface. * Configure your application to be able to access the service, see how to do it here http://www.preallowed.com/home/help == LICENSE (The MIT License) ==================================================================== ==== Preallowed Copyright (c) 2008 The Preallowed Development Team ==================================================================== Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.