Fixed duplicate permissions in the group matrix (fixed #5112)

This commit is contained in:
FinnStutzenstein 2019-11-05 11:39:52 +01:00
parent 0ab46ed955
commit fed9f3c19b

View File

@ -108,6 +108,7 @@ export class GroupRepositoryService extends BaseRepository<ViewGroup, Group, Gro
*/
private sortPermsPerApp(): void {
this.constantsService.get<any>('Permissions').subscribe(perms => {
this.appPermissions = [];
let pluginCounter = 0;
for (const perm of perms) {
// extract the apps name