Commit 593a3d71 authored by michael.simon's avatar michael.simon
Browse files

Adding role for ExternalUserAdmin

parent 8a20fa60
...@@ -106,6 +106,7 @@ public class ApplicationBootstrap { ...@@ -106,6 +106,7 @@ public class ApplicationBootstrap {
checkRole("AuditAdmin"); checkRole("AuditAdmin");
checkRole("User"); checkRole("User");
checkRole("AttributeSourceAdmin"); checkRole("AttributeSourceAdmin");
checkRole("ExternalUserAdmin");
logger.info("Initializing admin Account"); logger.info("Initializing admin Account");
if (adminUserService.findByUsername("admin") == null) { if (adminUserService.findByUsername("admin") == null) {
......
...@@ -66,6 +66,7 @@ public class AccessChecker { ...@@ -66,6 +66,7 @@ public class AccessChecker {
AccessNode restNode = addAccessNode(root, "rest", false, "MasterAdmin", "RestAdmin"); AccessNode restNode = addAccessNode(root, "rest", false, "MasterAdmin", "RestAdmin");
addAccessNode(restNode, "service-admin", true, "RestServiceAdmin"); addAccessNode(restNode, "service-admin", true, "RestServiceAdmin");
addAccessNode(restNode, "external-user", true, "ExternalUserAdmin");
AccessNode droolsNode = addAccessNode(restNode, "drools", true); AccessNode droolsNode = addAccessNode(restNode, "drools", true);
addAccessNode(droolsNode, "test", true); addAccessNode(droolsNode, "test", true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment