agungsugiarto / boilerplate

CodeIgniter4 Boilerplate based on AdminLTE 3 with user management, roles, permissions, ...
MIT License
158 stars 49 forks source link

Introducing Groups #95

Open glewe opened 2 years ago

glewe commented 2 years ago

Hi there,

I just got my hands on your boilerplate and I love it so far.

I noticed that you are using Myth/Auth's GroupModel as Roles. In most of my application concepts I need both, roles and groups. Roles are mostly used for permission while groups are used for grouping user accounts into teams.

I would love to see the introduction of groups in your boilerplate. My idea would be to basically copy the GroupModel as RoleModel so that both can be managed per user. The attributes of a role can be the same as of a group. The rest would also be the same

How do you fell about that idea?

Best regards, George