Hi, I have a Rails application using Restful authentication and declarative authorization. I have some roles with an admin.
Is there any method to have automatically granted all permissions to this role, instead of hardcode every controller in the authorization_rules? Something like:
role :admin do
has_permission_on :everything, :to => :manage
end
Or a uglier approach with introspection, maybe?
Thanks in advance