Permissions Handler
No more handler.
This is deprecated.
See: Auth Controller
- request a list of permissions from modules
- compare the demands to the users credentials
- allow or deny. pewf, magic.
- during a modules Check Config it should add to the permission table a listing of actions that require authentication.
- This db list will contain the moduleName and actionName and be assigned an ID.
- The user permission list will be a simple many-to-many lookup table with users ID pointing to the IDs of module/action pairs that they have access to.
- within the module action, a simple call to Permissions::checkPermission(modulename, actionmame) will result in an exception if permission is denied.