Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
2ef5b6ac
Commit
2ef5b6ac
authored
Jul 02, 2020
by
ls1947
Browse files
Add Mail Admin Role
parent
de5c9528
Changes
2
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/bootstrap/ApplicationBootstrap.java
View file @
2ef5b6ac
...
...
@@ -110,6 +110,7 @@ public class ApplicationBootstrap {
checkRole
(
"BulkAdmin"
);
checkRole
(
"TimerAdmin"
);
checkRole
(
"AuditAdmin"
);
checkRole
(
"MailAdmin"
);
checkRole
(
"User"
);
checkRole
(
"AttributeSourceAdmin"
);
checkRole
(
"ExternalUserAdmin"
);
...
...
bwreg-webapp/src/main/java/edu/kit/scc/webreg/sec/AccessChecker.java
View file @
2ef5b6ac
...
...
@@ -63,6 +63,7 @@ public class AccessChecker {
addAccessNode
(
adminNode
,
"audit"
,
true
,
"AuditAdmin"
);
addAccessNode
(
adminNode
,
"group"
,
true
,
"GroupAdmin"
);
addAccessNode
(
adminNode
,
"as"
,
true
,
"AttributeSourceAdmin"
);
addAccessNode
(
adminNode
,
"mail"
,
true
,
"MailAdmin"
);
AccessNode
restNode
=
addAccessNode
(
root
,
"rest"
,
false
,
"MasterAdmin"
,
"RestAdmin"
);
addAccessNode
(
restNode
,
"service-admin"
,
true
,
"RestServiceAdmin"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment