Skip to content

Commit cb0f475

Browse files
committed
Add admin user
1 parent 9a49ca7 commit cb0f475

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SENTRIUS_VERSION=1.0.5
1+
SENTRIUS_VERSION=1.0.8
22
SENTRIUS_SSH_VERSION=1.0.1
33
SENTRIUS_KEYCLOAK_VERSION=1.0.1
44
SENTRIUS_AGENT_VERSION=1.0.9

docker/sentrius/exampleInstallWithTypes.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ userTypes:
22
- userTypeName: testType
33
systemAccess: CAN_VIEW_SYSTEMS
44
ruleAccess: CAN_DEL_RULES
5+
- userTypeName: adminType
6+
systemAccess: CAN_MANAGE_SYSTEMS
7+
ruleAccess: CAN_MANAGE_RULES
8+
applicationAccess: CAN_MANAGE_APPLICATION
9+
ztAccessTokenAccess: CAN_MANAGE_ZTATS
510
- userTypeName: jitType
611
systemAccess: CAN_VIEW_SYSTEMS
712
ztAccessTokenAccess: CAN_MANAGE_ZTATS
@@ -20,6 +25,14 @@ users:
2025
userTypeName: jitType
2126
hostGroups:
2227
- displayName: testGroup
28+
- username: admin
29+
name: firstname lastname
30+
password: admin
31+
authorizationType:
32+
userTypeName: adminType
33+
hostGroups:
34+
- displayName: testGroup
35+
2336

2437
systems:
2538
- displayName: SSH-HOST

0 commit comments

Comments
 (0)