redooor / redminportal

A Laravel package as a backend administrating tool for Content Management and Ecommerce sites.
MIT License
43 stars 16 forks source link

Group vs Role #182

Open kongnir opened 8 years ago

kongnir commented 8 years ago

Add Role to the system.

"Group" groups users into same unit. While "Role" defines the permission given to the person.

For example, user ABC is in group JIRA and role Administrator. She’s able to add/edit/delete anything within the group JIRA, including all the users. But she cannot view or edit other groups and their users.

On the other hand, user EFG is in group JIRA and role User. She’s only able to view anything within her own group.

With this we can separate users in their individual group yet give them the ability to administer themselves.

This would be a breaking change. So it has to go into a major version.

kongnir commented 8 years ago

Current implementation of Group is functioning more like the described Role. Maybe we can retain the Group but add a new way to cluster users into chunks of manageable teams?