Why CI4 Shield do not store groups, permissions and rule on database |
Shield normally stores roles in the database and assigns groups in the config otherwise you can also modify groups in your class to extend here is how to serve in the database
PHP Code: $user->addPermission('users.create', 'users.edit'); PHP Code: $user->addGroup('admin', 'beta'); Codeigniter First, Codeigniter Then You!!
yekrinaDigitals
|
Messages In This Thread |
Why CI4 Shield do not store groups, permissions and rule on database - by quangpd - 10-09-2024, 01:24 AM
RE: Why CI4 Shield do not store groups, permissions and rule on database - by luckmoshy - 10-10-2024, 12:24 AM
RE: Why CI4 Shield do not store groups, permissions and rule on database - by quangpd - 10-10-2024, 01:35 PM
|