merge-requests/7/head
charitha 8 years ago
parent 670ca7c228
commit a2c0526b40

@ -392,7 +392,7 @@ public class GroupManagementProviderServiceImpl implements GroupManagementProvid
rolesToAdd.add(roleNamePrefix + role); rolesToAdd.add(roleNamePrefix + role);
} }
} else { } else {
throw new RoleDoesNotExistException("Role '" + role + "' is not exists iin requested group."); throw new RoleDoesNotExistException("Role '" + role + "' is not exists in requested group.");
} }
} }
for (String role : currentUserRoles) { for (String role : currentUserRoles) {
@ -401,7 +401,7 @@ public class GroupManagementProviderServiceImpl implements GroupManagementProvid
rolesToRemove.add(roleNamePrefix + role); rolesToRemove.add(roleNamePrefix + role);
} }
} else { } else {
throw new RoleDoesNotExistException("Role '" + role + "' is not exists iin requested group."); throw new RoleDoesNotExistException("Role '" + role + "' is not exists in requested group.");
} }
} }
userStoreManager.updateRoleListOfUser(username, userStoreManager.updateRoleListOfUser(username,

Loading…
Cancel
Save