security Definition Role A role is a set of subjects with similar access rights. Permissions are assigned to roles, and roles are assigned to subjects. Users obtain the access rights of the roles assigned to them.