You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SCIM API implementation in #1199 lets a superadmin (GRIST_DEFAULT_EMAIL) hard-delete a user on the instance via the DELETE /scim/v2/Users/{userId} endpoint.
However, this does not work if the user to be deleted has a team site in addition to his Personnal site. The app returns a 500 internal error.
Steps to reproduce
create a user
create a team site
connect as a superadmin
try to delete the user
Describe the expected behavior
Superadmins should be able to delete a user on the instance they manage regardless of whether the user has created a team site or not.
In our context, the expected behavior would be :
if the user is the only owner of an org, delete the org
if there are other owners of an org, simply remove the user from the org before deleting the user
Describe the current behavior
The SCIM API implementation in #1199 lets a superadmin (
GRIST_DEFAULT_EMAIL
) hard-delete a user on the instance via the DELETE /scim/v2/Users/{userId} endpoint.However, this does not work if the user to be deleted has a team site in addition to his Personnal site. The app returns a 500 internal error.
Steps to reproduce
Describe the expected behavior
Superadmins should be able to delete a user on the instance they manage regardless of whether the user has created a team site or not.
In our context, the expected behavior would be :
Where have you encountered this bug?
Instance information (when self-hosting only)
The text was updated successfully, but these errors were encountered: