Project

General

Profile

Actions

Bug #6834

closed

How to add users to a newly created group?

Added by Nancy Ouyang over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Story points:
-

Description

As admin, I can create groups, however I cannot figure out how to add users to those groups. Maybe a workbench GUI would help, but commandline is fine if documented.

Context: created new PGP HMS staff group to share private data with staff, however cannot assign people to it.

http://doc.arvados.org/api/methods/groups.html

arv group update --uuid su92l-tpzed-nbf6lolzym2d55v --group 

An example arv command to update the "is_active" attribute for the current user:
arv user update \
 --uuid su92l-tpzed-nbf6lolzym2d55v \
 --user '{"is_active":true}'

Files

3-user-permissions.png (194 KB) 3-user-permissions.png Nancy Ouyang, 08/04/2015 07:30 PM
2-CLI-created-group.png (156 KB) 2-CLI-created-group.png Nancy Ouyang, 08/04/2015 07:30 PM
1-Workbench-created-group.png (152 KB) 1-Workbench-created-group.png Nancy Ouyang, 08/04/2015 07:30 PM

Related issues

Related to Arvados - Bug #7453: [Workbench] User admin page includes a button to create new role groupsResolvedRadhika Chippada10/27/2015Actions
Actions #1

Updated by Tom Clegg over 8 years ago

  • Category set to Workbench

There is only an admin interface for this right now. (Users can create groups on the command line but it's even less documented and can't be used get you and someone else into the same group unless you can already see each other by virtue of some existing group -- which I gather makes it not as useful for you in this particular case.)

Admin/gear menu → Users → (pick one) Show → "Admin" tab should bring you here

https://workbench.su92l.arvadosapi.com/users/su92l-tpzed-nbf6lolzym2d55v#Admin

On the right side the "arv group create" command gives an example of creating a new group (only with the command line so far, sorry).

Once you do that, [reload that page and] you should be able to tick the boxes to add the user to the new group.

A nice UI for all this stuff would be great. In the meantime maybe we should revive http://doc.arvados.org/install/cheat_sheet.html as a "how to do admin tasks" page -- whether or not they have UI. And it could stand to move somewhere more discoverable by admins who don't happen to also be installers. (Apparently nobody has reviewed it lately: nearly every command line listed there has a UI now.)

Actions #2

Updated by Nancy Ouyang over 8 years ago

Thanks -- Creating a group via the commandline worked, via Workbench did not (show ability to add users), which was why I was confused.

1 - shows workbench "+group" button, with initial group.

2 - shows CLI created group

3 - shows (via Workbench) can only add users to the CLI-created-group

/>https://arvados.org/attachments/download/753/3-user-permissions.png

Actions #3

Updated by Nancy Ouyang over 8 years ago

Complete documentation for how to make a new group and add users to it:
  1. Login to shell (potentially as admin?).

  2. $ arv group create \
    > --group '{"group_class":"role","name":"Awesome New Group"}'
    
  3. Go to Admin settings > Groups and confirm that the group was created
  4. Go to Admin settings > Users and click "show" on the user you want to add to the group
  5. Got to "admin" tab on that user, and click both
    ☑ user→group ☑ group→user Awesome New Group
    (note: once the boxes are checked you can refresh the page and they will still be checked, it updates instantly)
  6. Rinse and Repeat the above two steps for any additional users
  7. You can go to Admin settings > Groups and check that there are now "n" incoming and outgoing permissions, where "n" = the number of users you added to the group

Tada!
(Of course this all requires admin permissions)

Actions #4

Updated by Brett Smith over 8 years ago

  • Target version changed from Bug Triage to Arvados Future Sprints

Nancy, given this discussion, what would you say are the outstanding issue(s) from this? At this point, it's a little tough to tell if this is a documentation bug; a feature request (for non-admins to manage these memberships); something else; or what combination of all of these.

Thanks.

Actions #5

Updated by Brett Smith over 8 years ago

  • Status changed from New to Closed
  • Target version deleted (Arvados Future Sprints)

We are going to make Workbench interface improvements in #7453.

Actions

Also available in: Atom PDF