diff --git a/src/store/modules/user/actions.ts b/src/store/modules/user/actions.ts index a725ebd7..89626abb 100644 --- a/src/store/modules/user/actions.ts +++ b/src/store/modules/user/actions.ts @@ -37,7 +37,7 @@ const actions: ActionTree = { if (permissionId) serverPermissionsFromRules.push(permissionId); const serverPermissions = await UserService.getUserPermissions({ - permissionIds: serverPermissionsFromRules + permissionIds: [...new Set(serverPermissionsFromRules)] }, token); const appPermissions = prepareAppPermissions(serverPermissions);