From df06abe70e4bf5b365cdaa92bb95277db0be2f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Tue, 16 Feb 2016 14:18:20 +0100 Subject: [PATCH] Fixed groups attribute of user in the client. Fixed #1974. --- openslides/users/static/js/users/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/users/static/js/users/base.js b/openslides/users/static/js/users/base.js index 8a8d8e3df..c1e08962f 100644 --- a/openslides/users/static/js/users/base.js +++ b/openslides/users/static/js/users/base.js @@ -121,7 +121,7 @@ angular.module('OpenSlidesApp.users', []) }, getPerms: function() { var allPerms = []; - var allGroups = this.groups; + var allGroups = this.groups.slice(0); // Add registered group allGroups.push(2); _.forEach(allGroups, function(groupId) {