diff --git a/apps/user-ms/src/main/resources/role_action_mapping.json b/apps/user-ms/src/main/resources/role_action_mapping.json new file mode 100644 index 00000000..71be4423 --- /dev/null +++ b/apps/user-ms/src/main/resources/role_action_mapping.json @@ -0,0 +1,53 @@ +{ + "MANAGER": [ + "Selc:UploadLogo", + "Selc:ViewBilling", + "Selc:RequestProductAccess", + "Selc:ListAvailableProducts", + "Selc:ListActiveProducts", + "Selc:AccessProductBackoffice", + "Selc:ViewManagedInstitutions", + "Selc:ViewDelegations", + "Selc:ManageProductUsers", + "Selc:ManageProductGroups" + ], + "DELEGATE": [ + "Selc:UploadLogo", + "Selc:ViewBilling", + "Selc:RequestProductAccess", + "Selc:ListAvailableProducts", + "Selc:ListActiveProducts", + "Selc:AccessProductBackoffice", + "Selc:ViewManagedInstitutions", + "Selc:ViewDelegations", + "Selc:ManageProductUsers", + "Selc:ManageProductGroups" + ], + "SUB_DELEGATE": [ + "Selc:UploadLogo", + "Selc:ViewBilling", + "Selc:RequestProductAccess", + "Selc:ListAvailableProducts", + "Selc:ListActiveProducts", + "Selc:AccessProductBackoffice", + "Selc:ViewManagedInstitutions", + "Selc:ViewDelegations", + "Selc:ManageProductUsers", + "Selc:ManageProductGroups" + ], + "ADMIN_EA": [ + "Selc:UploadLogo", + "Selc:ViewBilling", + "Selc:RequestProductAccess", + "Selc:ListActiveProducts", + "Selc:AccessProductBackoffice", + "Selc:ViewManagedInstitutions", + "Selc:ViewDelegations", + "Selc:ManageProductUsers", + "Selc:ManageProductGroups" + ], + "OPERATOR": [ + "Selc:ViewBilling", + "Selc:AccessProductBackoffice" + ] +} \ No newline at end of file