Skip to content

Commit

Permalink
MID-7751:adding authorization for service detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 22, 2022
1 parent 3e80b83 commit 0bb2337
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ public enum EndPointsUrlMapping {
"PageAdminUsers.auth.orgAll.label", "PageAdminUsers.auth.orgAll.description"),
new AuthorizationActionValue(AUTZ_UI_ORG_UNIT_URL,
"PageOrgUnit.auth.orgUnit.label", "PageOrgUnit.auth.orgUnit.description")),
SERVICE_NEW_DETAILS("/admin/serviceNew/**",
new AuthorizationActionValue(AUTZ_UI_SERVICE_DETAILS_URL,
"PageAdminRoles.authUri.serviceDetails.label", "PageAdminRoles.authUri.serviceDetails.description"),
new AuthorizationActionValue(AUTZ_UI_SERVICES_ALL_URL,
"PageAdminRoles.authUri.servicesAll.label", "PageAdminRoles.authUri.servicesAll.description"),
new AuthorizationActionValue(AUTZ_GUI_ALL_URL,
"PageAdminRoles.authUri.guiAll.label", "PageAdminRoles.authUri.guiAll.description")),
RESOURCE_DETAILS("/admin/resource/**",
new AuthorizationActionValue(AUTZ_UI_RESOURCE_DETAILS_URL,
"PageAdminResources.authUri.resourceDetails.label", "PageAdminResources.authUri.resourceDetails.description"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ public class AuthorizationConstants {
public static final QName AUTZ_UI_SERVICE_QNAME = new QName(NS_AUTHORIZATION_UI, "service");
public static final String AUTZ_UI_SERVICE_URL = NS_AUTHORIZATION_UI + "#service";

public static final QName AUTZ_UI_SERVICE_DETAILS_QNAME = new QName(NS_AUTHORIZATION_UI, "serviceDetails");
public static final String AUTZ_UI_SERVICE_DETAILS_URL = NS_AUTHORIZATION_UI + "#serviceDetails";

public static final QName AUTZ_UI_ARCHETYPES_ALL_QNAME = new QName(NS_AUTHORIZATION_UI, "archetypesAll");
public static final String AUTZ_UI_ARCHETYPES_ALL_URL = NS_AUTHORIZATION_UI + "#archetypesAll";

Expand Down

0 comments on commit 0bb2337

Please sign in to comment.