makandra/aegis — Issue #13: Show list of permissions
Author: derDoc
Created: 2012-01-29 01:14:55+00:00
State: open

It would be super cool if there was a way to get a list of all permissions.
Because right now when you get a permission denied Exception somewhere it is sometimes quite hard to figure out what went wrong.
That would be most helpful in the Exception itself, ala:
Permission denied. You have the following permissions on the current object (class Event):
-write
-blah
-foo

And maybe a list of all permissions for all roles somewhere, like rake list_permissions or so.