I’m working on a role based authentication scheme.
It defines roles, which are assigned to users.
The roles are action->controller pairs, and if a user has a role
containing an action/controller, they my access that pair.
However, the administration needs to auto-discover all possible
action->controller pairs for the entire application.
Now, I can get a list of all controllers, no problem.
The problem is that the controller has no way to tell me what it’s
possible actions are. I can get function lists, hidden actions, and all
that, but no way of getting just plain old actions from a controller
class or an instantiated controller.