diff --git a/settings/js/users.js b/settings/js/users.js index 7c022e5293..a278b41721 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -160,6 +160,9 @@ var UserList={ } if(user){ var checkHandeler=function(group){ + if(user==OC.currentUser && group=='admin'){ + return false; + } if(!isadmin && checked.length == 1 && checked[0] == group){ return false; }