Fixed groups attribute of user in the client. Fixed #1974.

This commit is contained in:
Norman Jäckel 2016-02-16 14:18:20 +01:00
parent 40a3d4534e
commit df06abe70e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {