Opened 9 years ago

Closed 9 years ago

#46 closed task (fixed)

Create a REST resource in iRODS interface to add/remove users to/from groups

Reported by: johren@bbn.com Owned by: michael_conway@unc.edu
Priority: major Milestone: GEC18
Component: iRODS Version: Sprint6
Keywords: Cc:
Dependencies:

Description

  • This will to used by the GENI Portal to add a user to a group when an experimenter is added to a project or remove a user from a group when an experimenter is removed from a project.
  • Gracefully handle if the user already exists on the group on add or doesn't exist on remove.

Change History (3)

comment:1 Changed 9 years ago by johren@bbn.com

Version: Sprint5Sprint6

comment:2 Changed 9 years ago by ahelsing@bbn.com

I assume:

addUserToGroup takes username, groupname Returns: 7 - Internal Error 9 - No such project 10 - No such user 11 - User already in project 0 - success (maybe include a count of the members in the group?)

removeUserFromGroup takes username, groupname Returns: 7 - Internal Error 9 - No such project 10 - No such user 12 - User not in project 0 - success (maybe include a count of the members in the group?)

comment:3 Changed 9 years ago by johren@bbn.com

Resolution: fixed
Status: newclosed

This functionality is complete and verified by adding and removing users on projects via the GENI Portal.

Note: See TracTickets for help on using tickets.