Merge pull request #1978 from normanjaeckel/ChangeProfileFix

Fixed groups attribute of user in the client. Fixed #1974.
This commit is contained in:
Emanuel Schütze 2016-02-16 21:02:53 +01:00
commit 956bba9a13

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