UtrechtUniversity / yoda

A system for reliable, long-term storing and archiving large amounts of research data during all stages of a study.
https://utrechtuniversity.github.io/yoda/
GNU General Public License v3.0
44 stars 26 forks source link

[BUG] Removing user with an open SRAM invitation produces an error message #371

Open peer35 opened 7 months ago

peer35 commented 7 months ago

Is there an existing issue for this?

Current Behavior

As Group Manager or rodsadmin: When trying to remove a user -who has not accepted the invitation to the corresponding SRAM CO- from a Yoda group. The following error is shown:

"Something went wrong getting the unique user id for user {email}#vu from SRAM. Please contact a system administrator."

Only after refreshing the Group Manager you can see the user is actually removed from the group.

Expected Behavior

Removing a user from a group should not produce an error if the process did not fail.

Steps To Reproduce

  1. Add a user to a group.
  2. Immediately try to remove the new user.

Environment

- Yoda:v1.9.0-rc.6

Anything else?

No response