Add new module pf::user and exposed_method has_role to templates
Example restriction for user role
renamed pf::user_roles to pf::admin_roles
New configuartion controller for adminroles
renamed administration function
Added Description for admin role
implemented admin_can
Added hard coded roles NONE and ALL
move the load of the adminroles.conf to here
Refactor
use the cached config from pf::admin_roles
Will use the roles from the defined user
default role is ALL
function admin_can will always fail if has role of NONE
Added the ability to choose multiple roles and pull roles from ADMIN ROLES
Changed the name of the action to match the actions defined in pf::admin_roles
If action type allow mulitple values then convert the value to an array
Verify if the user exists before retrivng roles
retrived user roles from the session
Added _roles attribute and ensure that uses with the role of NONE are not allowed to check in
saving user roles to the session
changed access_level to a string
Fixed bug with NONE role not being check first Also allow multiple actions to be passed