Skip to content

Commit 6a4d91a

Browse files
authored
fix(chainloop): add missing policy (#764)
Signed-off-by: Jose I. Paris <[email protected]>
1 parent 77a30fc commit 6a4d91a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/controlplane/internal/authz/authz.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ var (
101101
PolicyWorkflowRunList = &Policy{ResourceWorkflowRun, ActionList}
102102
PolicyWorkflowRunRead = &Policy{ResourceWorkflowRun, ActionRead}
103103
// Workflow
104-
PolicyWorkflowList = &Policy{ResourceWorkflow, ActionList}
105-
PolicyWorkflowRead = &Policy{ResourceWorkflow, ActionRead}
104+
PolicyWorkflowList = &Policy{ResourceWorkflow, ActionList}
105+
PolicyWorkflowRead = &Policy{ResourceWorkflow, ActionRead}
106+
PolicyWorkflowCreate = &Policy{ResourceWorkflow, ActionCreate}
107+
106108
// User Membership
107109
PolicyOrganizationRead = &Policy{Organization, ActionRead}
108110
)

0 commit comments

Comments
 (0)