Skip to content

Subadmin class should handle error cases gracefull #15573

Closed

Description

@rullzer

As mentioned in #13709 there should be a couple of more checks in the subadmin class. For example to make sure that we do not try to make a user a subadmin of the same group twice. This should be handled more gracefully.

This could either be silent (in certain cases) or in the form of exceptions.

This makes sure we do not have to check in multiple places and fixes the problem where it can occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions