ruby on rails - All permissions with declarative_authorization -


I have a rail application using the refill authentication and declaratory authorization. I have some roles with the administrator

Is there a method to get all the permissions for this role rather than hardcodes instead of every controller in Authority_Reals? Something like this:

  role: administrator has has_permission_on: everything ,: to = & gt; 

-text "itemprop =" text ">

If you use the latest code, you can use it (not the latest gem (0.4.1) still):

  role 

View command:

HTML>

Comments