Skip to content

Commit

Permalink
merge develop -Dorg -Ssuccess-only: PR 6207 (Review training example …
Browse files Browse the repository at this point in the history
…setup)
  • Loading branch information
snoopycrimecop committed Jan 27, 2020
2 parents 46b5322 + 7abc613 commit 2d5d915
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions examples/Training/training_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ CONFIG_FILENAME=${CONFIG_FILENAME:-training_ice.config}
omero login root@$HOSTNAME:$PORT -w $ROOT_PASSWORD
omero group add $GROUP_NAME --type read-only --ignore-existing
omero group add $GROUP_NAME_2 --type read-only --ignore-existing
omero user add $USER_NAME $USER_NAME $USER_NAME $GROUP_NAME $GROUP_NAME_2 --ignore-existing -P $USER_PASSWORD
omero user add $USER_NAME_2 $USER_NAME_2 $USER_NAME_2 $GROUP_NAME $GROUP_NAME_2 --ignore-existing -P $USER_PASSWORD
omero user add $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $GROUP_NAME $GROUP_NAME_2 -a --ignore-existing -P $USER_PASSWORD
omero user add $USER_NAME $USER_NAME $USER_NAME $GROUP_NAME --ignore-existing -P $USER_PASSWORD
omero user add $USER_NAME $USER_NAME $USER_NAME $GROUP_NAME_2 --ignore-existing -P $USER_PASSWORD
omero user add $USER_NAME_2 $USER_NAME_2 $USER_NAME_2 $GROUP_NAME --ignore-existing -P $USER_PASSWORD
omero user add $USER_NAME_2 $USER_NAME_2 $USER_NAME_2$GROUP_NAME_2 --ignore-existing -P $USER_PASSWORD
omero user add $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $GROUP_NAME -a --ignore-existing -P $USER_PASSWORD
omero user add $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $LIGHTADMIN_USER_NAME $GROUP_NAME_2 -a --ignore-existing -P $USER_PASSWORD
id=$(omero user info $LIGHTADMIN_USER_NAME --style plain | cut -d, -f1)
omero obj map-set Experimenter:$id config AdminPrivilege:Sudo true
omero logout
Expand Down

0 comments on commit 2d5d915

Please sign in to comment.