kishor10d / Admin-Panel-User-Management-using-CodeIgniter

Admin Panel User Management Demo - CodeIgniter + AdminLTE Theme
http://cias.codeinsect.com
GNU General Public License v3.0
334 stars 244 forks source link

User Privileges? #64

Closed junaiddarjat closed 5 years ago

junaiddarjat commented 5 years ago

On features, it's mentioned:

"Predefined Roles (You can change roles and rights as per your project requirement)."

How abouts does one would do this then?

I'm looking at the following project which credits you: https://github.com/pars11/Codeigniter-User-Panel-Management

There seems to be user privileges / authorization per page, such as Admin can access all, Manager can access 'addNewTask' and User can just view 'etasks', but whereabouts is this even done at?! I can't figure it out for the life of me. All I see is that 'sessions' library is being used but that dint turn me to any leads either..

Any or all help is appreciated.

kishor10d commented 5 years ago

Please find header.php, there I applied condition to show/hide options.

Please find application/library/BaseController.php, there I assign no access page.