feat(admin): warnings and fixes when disconnecting last owner from service accout
Description
Modification of displaying warning when disconnecting last associated member from service account.
How to test
Find some service account, or create one with one last associated members (anonymized users does not matter) and try to disconnect it. Warning should appear according to if user that you are disconnecting is last or not.
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
Related issues
re STR-1470
Edited by Marek Hlávka