#3237 add equals and hashCode for Set usage
#3237 added new method which retrieves all the roles granted to a user (include the user itself). Before try to populate each role retrieved from the DB I try to retrieve it from cache
#3237 the roleId becoming from the request is always a User Role Id, so I use the UserId for keep all the roles granted to him and for each one select the enabled environment. I use the HashSet for avoid the duplicate
#3237
Merge pull request #3242 from dotCMS/issue-3237-enviroments-granted-roles

Issue 3237 enviroments granted roles