diff --git a/apps/user-ms/src/main/resources/role_action_mapping.json b/apps/user-ms/src/main/resources/role_action_mapping.json index 4a15d28b..d0c4e6d7 100644 --- a/apps/user-ms/src/main/resources/role_action_mapping.json +++ b/apps/user-ms/src/main/resources/role_action_mapping.json @@ -9,6 +9,7 @@ "Selc:ViewManagedInstitutions", "Selc:ViewDelegations", "Selc:ManageProductUsers", + "Selc:ListProductUsers", "Selc:ManageProductGroups", "Selc:CreateDelegation", "Selc:ViewInstitutionData", @@ -24,6 +25,7 @@ "Selc:ViewManagedInstitutions", "Selc:ViewDelegations", "Selc:ManageProductUsers", + "Selc:ListProductUsers", "Selc:ManageProductGroups", "Selc:CreateDelegation", "Selc:ViewInstitutionData", @@ -39,6 +41,7 @@ "Selc:ViewManagedInstitutions", "Selc:ViewDelegations", "Selc:ManageProductUsers", + "Selc:ListProductUsers", "Selc:ManageProductGroups", "Selc:CreateDelegation", "Selc:ViewInstitutionData", @@ -52,7 +55,7 @@ "Selc:AccessProductBackoffice", "Selc:ViewManagedInstitutions", "Selc:ViewDelegations", - "Selc:ManageProductUsers", + "Selc:ListProductUsers", "Selc:ManageProductGroups", "Selc:CreateDelegation", "Selc:ViewInstitutionData", diff --git a/apps/user-ms/src/test/java/it/pagopa/selfcare/user/service/UserServiceTest.java b/apps/user-ms/src/test/java/it/pagopa/selfcare/user/service/UserServiceTest.java index 890bd5de..286e3543 100644 --- a/apps/user-ms/src/test/java/it/pagopa/selfcare/user/service/UserServiceTest.java +++ b/apps/user-ms/src/test/java/it/pagopa/selfcare/user/service/UserServiceTest.java @@ -1424,6 +1424,7 @@ private UserInstitutionWithActions getUserInstitutionWithAction() { "Selc:ViewManagedInstitutions", "Selc:ViewDelegations", "Selc:ManageProductUsers", + "Selc:ListProductUsers", "Selc:ManageProductGroups", "Selc:CreateDelegation", "Selc:ViewInstitutionData",