3 navsection: installguide
7 h3. Workbench: user management
9 As an Admin user, use the gear icon on the top right to visit the Users page. From there, use the 'Add new user' button to create a new user. Alternatively, visit an existing user with the 'Show' button next to the user's name. Then use the 'Admin' tab and click the 'Setup' button to activate the user, and create a virtual machine login as well as git repository for them.
14 ARVADOS_API_HOST={{ site.arvados_api_host }}
15 ARVADOS_API_TOKEN=1234567890qwertyuiopasdfghjklzxcvbnm1234567890zzzz
21 arv virtual_machine create --virtual-machine '{"hostname":"xxxxxxxchangeme.example.com"}'
24 h3. CLI: Activate user
27 user_uuid=xxxxxxxchangeme
29 arv user update --uuid "$user_uuid" --user '{"is_active":true}'
34 Give @$user_uuid@ permission to log in to @$vm_uuid@ as @$target_username@
37 user_uuid=xxxxxxxchangeme
38 vm_uuid=xxxxxxxchangeme
39 target_username=xxxxxxxchangeme
41 read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
43 "tail_uuid":"$user_uuid",
44 "head_uuid":"$vm_uuid",
45 "link_class":"permission",
47 "properties":{"username":"$target_username"}
52 h3. CLI: User → repo
54 Give @$user_uuid@ permission to commit to @$repo_uuid@ as @$repo_username@
57 user_uuid=xxxxxxxchangeme
58 repo_uuid=xxxxxxxchangeme
59 repo_username=xxxxxxxchangeme
61 read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
63 "tail_uuid":"$user_uuid",
64 "head_uuid":"$repo_uuid",
65 "link_class":"permission",
67 "properties":{"username":"$repo_username"}