diff options
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 7c022e52937..a278b417219 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; } |