-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Workspace - Admin Capabilities
-
None
-
2
-
Minor
Issue Summary
A admin of a workspace is unable to delete their workspace as they are failing a permission check when trying to remove the `idOrganization` value on a private board they are not a part of.
There is also bad data involved as the workspace does not list this board as being part of the workspace, whereas the board still has the `idOrganization` set to that value.
We should improve permission checks on the subrequest to remove the idOrganization to avoid this issue.
Steps to Reproduce
I have not been able to reproduce this in staging as it seems to require a bad data state that I cannot recreate.
Expected Results
The workspace admin should be able to disassociate all boards from the workspace and delete the workspace.
Actual Results
The workspace deletion fails with a `unauthorized permission requested` when running the subrequest to remove the `idOrganization` from the board.
Workaround
If the board admin is able to delete the board or have the board moved to another workspace, that should allow them to delete the workspace.