forked from fediversity/fediversity
restrict token roles
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
09297b9b4e
commit
eabd540910
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ in
|
|||
pvesh create /pools --poolid Fediversity
|
||||
pvesh set /storage/local --content "vztmpl,rootdir,backup,snippets,import,iso,images" 1>/dev/null
|
||||
pvesh create /access/users/root@pam/token/mytoken --output-format json | jq -r .value
|
||||
pvesh set /access/acl --path "/" --token "root@pam!mytoken" --roles "Administrator"
|
||||
pvesh set /access/acl --path "/" --token "root@pam!mytoken" --roles "PVEVMAdmin PVEDatastoreAdmin PVESDNUser PVETemplateUser"
|
||||
""").strip()
|
||||
|
||||
# skip indent for EOF
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue