Fixed groups attribute of user in the client. Fixed #1974.
This commit is contained in:
parent
40a3d4534e
commit
df06abe70e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user