-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18082/
-----------------------------------------------------------
Review request for Ambari, Dmitro Lisnichenko and Myroslav Papirkovskyy.
Bugs: AMBARI-4653
https://issues.apache.org/jira/browse/AMBARI-4653
Repository: ambari
Description
-------
Patch is check if user which should be deleted is last user with admin role.
Also, it check if we remove admin role from user, this user should not be last
user with admin role.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UserDAO.java
89c9cd8
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java
90ee80c
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UsetDAOTest.java
PRE-CREATION
Diff: https://reviews.apache.org/r/18082/diff/
Testing
-------
Thanks,
Dmytro Shkvyra