• Icon: Feature Part Feature Part
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.6.0
    • None
    • frontend

      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

        This is the controller panel for Smart Panels app

            [OPT-2672] Add pre-emptive error handling for user operations

            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.

            Sebastian Stamm added a comment - 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.

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: