Add assign/unassign in canPerformAction
MODIFY
src/server/rest/v1/service/AuthorizationService.ts
src/server/rest/v1/service/AuthorizationService.ts
@@ -43,6 +43,10 @@ export default class AuthorizationService {
return entity.canCreate;
case Action.DELETE:
return entity.canDelete;
+ case Action.ASSIGN:
+ return entity['can' + Action.ASSIGN];
+ case Action.UNASSIGN:
+ return entity['can' + Action.UNASSIGN];
default:
return false;
}

Add assign/unassign in canPerformAction