Implemented basic declarative_authorization support for an authorization layer