-
Feature Part
-
Resolution: Fixed
-
L3 - Default
-
None
When adding, updating or deleting a user/group from a collection, there are a couple things that can go wrong. Just a list of some of them:
- A user/group to be added is already in the collection
- A user/group to be added does not exist
- The last manager is to be deleted
- The last manager is to be edited
In these cases, the user currently only gets a notification after confirming the action. We should instead give the user feedback before they try to perform the action
We currently cannot check whether a user or group exists in optimize before trying to add them to a collection. Therefore we cannot show a pre-emptive error message in this case.
For the last manager, I'll just hide the context menu for them, as neither delete nor edit is possible. That way we also don't have to add error messages to the edit and delete modal.