I would like to understand if there is any difference between groups and roles in terms of authorization and permission management in Seam (particularly 2.1).
Group: A group is a set of users, other groups, or a mixture of both. It is normally used to assign permissions to data objects in your application.
Role: A collection of related privileges or permissions that you grant to users, groups, or other roles.
From Seam's Identity Management and Permission API perspective is there a difference between these? If so how are groups implemented using Seam 2.1?
There's not really a difference between the two. I use the word
group to describe a collection of roles, however the group itself is really just a role, and there's nothing stopping you from assigning users to that