Browse Source

FIX | Fix get my permissions transformed

merge-requests/247/head
Oksana Stepanenko 2 years ago
parent
commit
4ce08e574b
  1. 3
      src/domain/permissions/classes/permissions.ts

3
src/domain/permissions/classes/permissions.ts

@ -194,7 +194,8 @@ export class Permission { @@ -194,7 +194,8 @@ export class Permission {
const permissionsForAllUsers = {}
allUserIds.map(id => {
const actionsList = this.getPermissionsForUserTasks(id)
if (!_.isEmpty(actionsList) && id !== permissionsOwnerId) {
// if (!_.isEmpty(actionsList) && id !== permissionsOwnerId) {
if (!_.isEmpty(actionsList)) {
permissionsForAllUsers[id] = actionsList
}
})

Loading…
Cancel
Save