Merge pull request #5117 from FinnStutzenstein/fixGroupsMatrix
Fixed duplicate permissions in the group matrix (fixed #5112)
This commit is contained in:
commit
be2e8d9584
@ -108,6 +108,7 @@ export class GroupRepositoryService extends BaseRepository<ViewGroup, Group, Gro
|
|||||||
*/
|
*/
|
||||||
private sortPermsPerApp(): void {
|
private sortPermsPerApp(): void {
|
||||||
this.constantsService.get<any>('Permissions').subscribe(perms => {
|
this.constantsService.get<any>('Permissions').subscribe(perms => {
|
||||||
|
this.appPermissions = [];
|
||||||
let pluginCounter = 0;
|
let pluginCounter = 0;
|
||||||
for (const perm of perms) {
|
for (const perm of perms) {
|
||||||
// extract the apps name
|
// extract the apps name
|
||||||
|
Loading…
Reference in New Issue
Block a user