Reproduction Steps
- Log in as an Administrator.
- Navigate to Control Panel > Users and Organizations > Organizations.
- Create an organization named “Parent Organization”.
- Create a child organzation for “Parent Organization”, and name it “Child Organization”.
- Navigate to Control Panel > Users and Organizations > Users.
- Create a new user.
- From the edit user page, navigate to the Organizations page.
- Observe the organizations displayed on the screen.
- Click on the “x” button of the Parent Organization, and observe the behavior
Actual Results
- Both “Child Organization” and “Parent Organization” are displayed.
- “Parent Organization” is displayed because the user is an implicit member, since
organizations.membership.strict=falseis set by default.
However it is difficult to tell from the UI whether the user is implicitly or explicitly assigned to a certain organization.
- “Parent Organization” is displayed because the user is an implicit member, since
- Clicking on the “x” button does not remove the “Parent Organization”. The message “Success:Your request completed successfully.” is shown.
- It makes sense that a user’s implicit assignment to an organization cannot be deleted.
However, if the user is not aware that the assignment is implicit, this could lead to confusion.
- It makes sense that a user’s implicit assignment to an organization cannot be deleted.
Expected Results (Request)
- Both “Child Organization” and “Parent Organization” are displayed. There is a helpful message that shows that the “Parent Organization” is an implicitly assigned organization.
- The “x” button does not appear next to the “Parent Organization”, since this operation is not allowed.
Tested On
master (hash: cd648c0ef50de6b720377bb18c07b1ea92b5c8ac)