Add users for pool testing.
This commit is contained in:
parent
574ad5226b
commit
53a58a2aca
3 changed files with 27 additions and 7 deletions
|
|
@ -40,15 +40,25 @@
|
|||
- name: admin
|
||||
fullName: Administrator
|
||||
password: "$2b$05$NiBd74ZGdplLC63ePZf1f.UtjMKkbQ23cQoO2OKOFalDBHWAOy21."
|
||||
- name: test
|
||||
fullName: Test Account
|
||||
- name: test1
|
||||
fullName: Test Account 1
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
- name: test2
|
||||
fullName: Test Account 2
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
- name: test3
|
||||
fullName: Test Account 3
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
"/RoleConfigurator":
|
||||
rolesByUser:
|
||||
# User admin has role admin
|
||||
admin:
|
||||
- admin
|
||||
test:
|
||||
test1:
|
||||
- user
|
||||
test2:
|
||||
- user
|
||||
test3:
|
||||
- user
|
||||
# All users have role other
|
||||
"*":
|
||||
|
|
@ -60,7 +70,7 @@
|
|||
admin:
|
||||
- "*"
|
||||
user:
|
||||
- org.jdrupes.vmoperator.vmviewer.VmViewer
|
||||
- org.jdrupes.vmoperator.vmaccess.VmAccess
|
||||
# Others cannot use any conlet (except login conlet to log out)
|
||||
other:
|
||||
- org.jgrapes.webconlet.oidclogin.LoginConlet
|
||||
|
|
|
|||
|
|
@ -54,7 +54,13 @@ patches:
|
|||
- name: admin
|
||||
fullName: Administrator
|
||||
password: "$2b$05$NiBd74ZGdplLC63ePZf1f.UtjMKkbQ23cQoO2OKOFalDBHWAOy21."
|
||||
- name: test
|
||||
- name: test1
|
||||
fullName: Test Account
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
- name: test2
|
||||
fullName: Test Account
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
- name: test3
|
||||
fullName: Test Account
|
||||
password: "$2b$05$hZaI/jToXf/d3BctZdT38Or7H7h6Pn2W3WiB49p5AyhDHFkkYCvo2"
|
||||
"/RoleConfigurator":
|
||||
|
|
@ -62,7 +68,11 @@ patches:
|
|||
# User admin has role admin
|
||||
admin:
|
||||
- admin
|
||||
test:
|
||||
test1:
|
||||
- user
|
||||
test2:
|
||||
- user
|
||||
test3:
|
||||
- user
|
||||
# All users have role other
|
||||
"*":
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ spec:
|
|||
- user: admin
|
||||
may:
|
||||
- accessConsole
|
||||
- user: test
|
||||
- role: user
|
||||
may:
|
||||
- accessConsole
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue