diff --git a/src/store/modules/user/actions.ts b/src/store/modules/user/actions.ts index e73b740a..2cc85924 100644 --- a/src/store/modules/user/actions.ts +++ b/src/store/modules/user/actions.ts @@ -28,7 +28,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);