fix related attached file only for task as in the process

This commit is contained in:
Eugenio Romano
2019-02-13 16:22:31 +00:00
parent 3d7075e4c5
commit 6356cfcd84
4 changed files with 19 additions and 6 deletions

View File

@@ -193,7 +193,7 @@ export class ContentService {
if (permission === PermissionsEnum.CONSUMER) {
hasPermissions = true;
} else if (permission === PermissionsEnum.NOT_CONSUMER) {
hasPermissions = false
hasPermissions = false;
} else if (permission && permission.startsWith('!')) {
hasPermissions = true;
}