|
|
|
@ -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 |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|