ReUser is a gem. It provides your classes with a DSL for declaring and
testing for roles and permissions.
I wrote it because I couldn’t find anything to do the job of
implementing
roles in a syntax that I like. It is my first gem, and I am looking for
feedback, so please, fork from GitHub - isaacsanders/reuser: An internal DSL for Ruby to make user role management simple.,
add
pull requests annotating ‘code smells’ and refactoring any bad code you
find. Try using it, let me know of things that feel like they should be
there, things that shouldn’t be there.
to install:
gem install reuser
Cheers,
Isaac S.