A3M - Account Authentication & Authorization Module |
[eluser]Unknown[/eluser]
Hello I just started helping out with the A3M project using Jakub's repo as my starting point (donjakobo/A3M). Right now I have a Pull Request pending that will add an Admin Panel (managing Users, Roles, and Permissions), library for checking if a user has a specific permission, database defaults for system roles/permissions, and other updates to fill out the Authorization piece of A3M. The basics of how to use the Roles/Permissions has been added to the updated README.md file on my repo: drofnas/A3M Roles are setup as a simple way to group a set of permissions together, so after you apply a role to a user you will be able to check if they have the needed permissions for a feature in your Controller: Code: $this->load->library('account/authorization'); You can see an example of this in one of the Admin Panel Controllers: Line 17: Loading the Library Line 37: Checking if the user has permission WARNING: This is very much a Beta Admin Panel. If you come across any bugs we would love to hear about it on GitHub. Thanks, Drofnas |
Welcome Guest, Not a member yet? Register Sign In |