summaryrefslogtreecommitdiffstats
path: root/settings/src/views/Users.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-15 18:22:19 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 09:50:25 +0200
commite23e28b3cc311c9820462b38c6a7958027540dd7 (patch)
tree7e1022ca576dcfc7b9969858c45f6bfca55dd36b /settings/src/views/Users.vue
parentbcffbab6f8afb29c9e5c8ef9861739febdb06a09 (diff)
downloadnextcloud-server-e23e28b3cc311c9820462b38c6a7958027540dd7.tar.gz
nextcloud-server-e23e28b3cc311c9820462b38c6a7958027540dd7.zip
Various fixes
* Fixed subadmin group management * Fixed pass policy prop retrieving * Fixed fields subadmins were not supposed to see Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src/views/Users.vue')
-rw-r--r--settings/src/views/Users.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/src/views/Users.vue b/settings/src/views/Users.vue
index d154ebc03f9..c88487635a9 100644
--- a/settings/src/views/Users.vue
+++ b/settings/src/views/Users.vue
@@ -241,7 +241,7 @@ export default {
item.text = group.name; // group name
item.utils = {counter: group.usercount}; // users count
- if (item.id !== 'admin' && item.id !== 'disabled') {
+ if (item.id !== 'admin' && item.id !== 'disabled' && this.settings.isAdmin) {
// add delete button on real groups
let self = this;
item.utils.actions = [{