Project

alberich

0.0
No commit activity in last 3 years
No release in over 3 years
Alberich is a model-integrated permissions engine that allows access control, and list filtering based on user and group-assigned permissions both globally and at an individual resouce level.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Alberich¶ ↑

Alberich is a model-integrated permissions engine that allows access control, and list filtering based on user and group-assigned permissions both globally and at an individual resouce level.

Running Tests¶ ↑

Tests are run from the project root directory. But are run in the context of the dummy app located under test/dummy. In order to run the tests you must first setup dummy app database.

rake db:setup; rake -f test/dummy/Rakefile test:prepare

Once you have done this cd to the project root and run the following:

rake spec

Running the Dummy app¶ ↑

This will allow you to run the commands below to test out the engine in isolation (if mounted in another application, the main difference will just be where the engine gets mounted, so adjust your url accordingly).

cd test/dummy; rails s

Installation notes¶ ↑

When alberich is installed, an ‘entity’ object will be created for each user and user group in your system. This is a placeholder object which is used as the target for permission grants that can be applied to either a user or a group.

License¶ ↑

Alberich is released under the MIT license.