Follow-up from "Remove custom admin roles assignments if user is an admin"

The following discussion from !187296 (merged) should be addressed:

  • @abime started a discussion: (+1 comment)

    @eugielimpin I noticed something during local testing.Not sure if it’s valid — what do you think?

    When I change user type from admin to auditor I get an error Validation failed: You cannot change the access of the last owner from the organization. But on refresh I see that the record is getting saved successfully.

    error-when-admin-to-nonadmin