File tree Expand file tree Collapse file tree
workspaces/orchestrator/plugins/orchestrator-common/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ export const orchestratorWorkflowPermission = createPermission({
2626 resourceType : ORCHESTRATOR_WORKFLOW_RESOURCE_TYPE ,
2727} ) ;
2828
29- export const orchestratorWorkflowUsePermission = createPermission ( {
30- name : 'orchestrator.workflow.use' ,
31- attributes : {
32- action : 'update' ,
33- } ,
34- resourceType : ORCHESTRATOR_WORKFLOW_RESOURCE_TYPE ,
35- } ) ;
36-
3729/**
3830 * @deprecated Use conditional policies with IS_ALLOWED_WORKFLOW_ID rule instead.
3931 * These permissions could only be created via CSV policy files or REST API, not through the RBAC UI.
@@ -47,6 +39,14 @@ export const orchestratorWorkflowSpecificPermission = (workflowId: string) =>
4739 } ,
4840 } ) ;
4941
42+ export const orchestratorWorkflowUsePermission = createPermission ( {
43+ name : 'orchestrator.workflow.use' ,
44+ attributes : {
45+ action : 'update' ,
46+ } ,
47+ resourceType : ORCHESTRATOR_WORKFLOW_RESOURCE_TYPE ,
48+ } ) ;
49+
5050/**
5151 * @deprecated Use conditional policies with IS_ALLOWED_WORKFLOW_ID rule instead.
5252 * These permissions could only be created via CSV policy files or REST API, not through the RBAC UI.
You can’t perform that action at this time.
0 commit comments