Warning! This gem is an alpha!
Authoreyes (pronounced "authorize") is intended to be a modern, Rails 5 compatible replacement for Declarative Authorization.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install
For Rails authorization in Rails versions 4 and below, please use Declarative Authorization or one of its forks.
Warning! This gem is not finished! Although authorization functionality does work, you will need to do a few things to actually use it in your application...
At this point, to use Authoreyes, you must do the following:
- Add an
- Create an Authoreyes DSL Parser object.
- Use the DSL Parser object to parse your authorization rules.
- Create an Authoreyes Authorization Engine object passing in the Parser object.
- Use the Engine's
permit?methods in your application.
Bug reports and pull requests are welcome on GitHub at https://github.com/tektite-software/authoreyes.
Please check out the wiki for guides on contributing to this project.
The gem is available as open source under the terms of the MIT License.
:copyright: 2016 Tektite Software