Skip to content

Commit 255e1ad

Browse files
committed
Remove duplicated canBypass in project workflow
1 parent 8b04bfe commit 255e1ad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/project/workflow/project-workflow.service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ export class ProjectWorkflowService extends WorkflowService(
5757
);
5858
}
5959

60-
canBypass(session: Session) {
61-
return this.privileges.for(session, WorkflowEvent).can('create');
62-
}
63-
6460
async executeTransition(
6561
input: ExecuteProjectTransitionInput,
6662
session: Session,

0 commit comments

Comments
 (0)