align permission parameter

This commit is contained in:
Trevor Batley 2023-09-06 10:31:12 +10:00
parent 914a11bddd
commit ef781a8db2
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ It should already be there from the install, but if not
You can add Users for both the CLI and Web You can add Users for both the CLI and Web
koji-add-user <User Name> [ permisssions=<permissions> | debug ] koji-add-user <User Name> [ permisssion=<permissions> | debug ]
This will add them into the db and generate ssl CLI and browser keys, which will be bundled up in a tgz file at /etc/pki/koji/bundle/koji-\<User Name\>-bundle.tgz. This will add them into the db and generate ssl CLI and browser keys, which will be bundled up in a tgz file at /etc/pki/koji/bundle/koji-\<User Name\>-bundle.tgz.
This bundle should be extracted in their home (~) directory and will create a .koji directory with config and keys. This bundle should be extracted in their home (~) directory and will create a .koji directory with config and keys.

View File

@ -9,7 +9,7 @@ for param in $1 $2 $3 ; do
case $param in case $param in
debug ) debug )
DEBUG="debug" ;; DEBUG="debug" ;;
perms=* ) permission=* )
NEW_PERMS=${param#*=} ;; NEW_PERMS=${param#*=} ;;
* ) * )
NEW_USER=$param ;; NEW_USER=$param ;;