We have so far discussed users and groups separately, so let's start working on assigning users to existing groups available in the portal.
It's very important in a user domain to create a group model that can be used not only for managing users, but also for associating permissions in an easy way.
It's good practice to create a group model for associating permissions to groups. In this way, the group is also used as an authority. This means that our work for the permission model becomes very simple for managing permissions.
Sometimes it is not possible to create a unique group model due to specific requirements that you may have for certain domains. For instance, you could retrieve information about groups from an existing ...