Deadbolt [deadbolt] module
This module is for the Play 1.x series only.
Deadbolt is an authorisation mechanism for defining access rights to certain controller methods or parts of a view. It has a powerful but simple syntax that allows AND/OR/NOT relations. Both controller and view restrictions can be nested to allow for an elegant DRY approach to securing your application.
It’s also possible to specify pre-defined restriction trees for your controllers and thus be able to change security allowances without changing your code.
Finally, you can name controller classes, controller methods and views as resources and determine arbitrarily if access is allowed. This feature also integrates with the features above to provide specific/generic authorisation scenarios.
https://github.com/schaloner/deadbolt
Written by Steve Chaloner.
Published releases
1.5.4 | May 29 2012 | Documentation | Try Play |
1.5.3 | Apr 13 2012 | Documentation | Try Play |
1.5.2 | Mar 30 2012 | Documentation | Try Play |
1.5.1 | Feb 21 2012 | Documentation | Try Play |
1.5 | Feb 19 2012 | Documentation | Try Play |
1.4.5 | Feb 14 2012 | Documentation | Try Play |
1.4.4 | Jan 04 2012 | Documentation | Try Play |
1.4.3 | Nov 05 2011 | Documentation | Try Play |
1.4.2 | Aug 25 2011 | Documentation | Try Play |
1.4.1 | May 25 2011 | Documentation | Try Play |
1.4 | Apr 01 2011 | Documentation | Try Play |
1.3.1 | Mar 24 2011 | Documentation | Try Play |
1.3 | Mar 10 2011 | Documentation | Try Play |
1.2.1 | Feb 15 2011 | Documentation | Try Play |
1.2 | Feb 11 2011 | Documentation | Try Play |
1.1 | Feb 10 2011 | Documentation | Try Play |
1.0.1 | Feb 02 2011 | Documentation | Try Play |
1.0 | Dec 29 2010 | Documentation | Try Play |
To install locally this module use the install
command:
play install deadbolt-{version}
To add this module as dependency of your application, add it to the dependencies.yml file:
require:
- play -> deadbolt {version}