mirror of
https://github.com/langgenius/dify.git
synced 2026-11-12 06:11:12 +08:00
feat(rbac): agent RBAC/ACL scenes and resource-locator check bundles (#41768)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
60e983c493
commit
86134ea99e
152 files changed
+5360
-3405
No files matched your search
@@ -2172,7 +2172,7 @@ Update annotation settings for an app
|
||||
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 204 | Annotations deleted successfully |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /apps/{app_id}/annotations
|
||||
Get annotations for an app with pagination
|
||||
@@ -2294,7 +2294,7 @@ Export all annotations for an app with CSV injection protection
|
||||
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 204 | Annotation deleted successfully |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /apps/{app_id}/annotations/{annotation_id}
|
||||
Update or delete an annotation
|
||||
@@ -3324,9 +3324,9 @@ Create a new tracing configuration for an application
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [WorkflowTriggerResponse](#workflowtriggerresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /apps/{app_id}/triggers
|
||||
**Get app triggers list**
|
||||
@@ -4713,7 +4713,7 @@ Full value for one declared output of a published run.
|
||||
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 204 | Workflow deleted successfully |
|
||||
| 200 | Success |
|
||||
|
||||
### [PATCH] /apps/{app_id}/workflows/{workflow_id}
|
||||
**Update workflow attributes**
|
||||
@@ -4861,9 +4861,9 @@ Restore a published workflow version into the draft workflow
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [SimpleResultResponse](#simpleresultresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /auth/plugin/datasource/{provider_id}/custom-client
|
||||
#### Parameters
|
||||
@@ -5047,16 +5047,16 @@ Get compliance document download link
|
||||
### [GET] /data-source/integrates
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [DataSourceIntegrateListResponse](#datasourceintegratelistresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PATCH] /data-source/integrates
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [SimpleResultResponse](#simpleresultresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /data-source/integrates/{binding_id}/{action}
|
||||
#### Parameters
|
||||
@@ -5068,9 +5068,9 @@ Get compliance document download link
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [DataSourceIntegrateListResponse](#datasourceintegratelistresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PATCH] /data-source/integrates/{binding_id}/{action}
|
||||
#### Parameters
|
||||
@@ -5082,9 +5082,9 @@ Get compliance document download link
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [SimpleResultResponse](#simpleresultresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /datasets
|
||||
Get list of datasets
|
||||
@@ -7869,17 +7869,11 @@ Update account-level Step-by-step Tour state
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| pipeline_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [DraftWorkflowSyncPayload](#draftworkflowsyncpayload)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RagPipelineWorkflowSyncResponse](#ragpipelineworkflowsyncresponse)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /rag/pipelines/{pipeline_id}/workflows/draft/datasource/nodes/{node_id}/run
|
||||
**Run rag pipeline datasource**
|
||||
@@ -8179,12 +8173,6 @@ Update account-level Step-by-step Tour state
|
||||
| pipeline_id | path | | Yes | string (uuid) |
|
||||
| variable_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [WorkflowDraftVariablePatchPayload](#workflowdraftvariablepatchpayload)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
@@ -8359,12 +8347,6 @@ Update account-level Step-by-step Tour state
|
||||
| pipeline_id | path | | Yes | string (uuid) |
|
||||
| workflow_id | path | | Yes | string |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [WorkflowUpdatePayload](#workflowupdatepayload)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
@@ -11159,16 +11141,16 @@ Returns permission flags that control workspace features like member invitations
|
||||
### [GET] /workspaces/current/rbac/access-policies
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [_AccessPolicyList](#_accesspolicylist)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /workspaces/current/rbac/access-policies
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 201 | Policy created | **application/json**: [AccessPolicy](#accesspolicy)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [DELETE] /workspaces/current/rbac/access-policies/{policy_id}
|
||||
#### Parameters
|
||||
@@ -11179,9 +11161,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessPolicy](#accesspolicy)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /workspaces/current/rbac/access-policies/{policy_id}
|
||||
#### Parameters
|
||||
@@ -11192,9 +11174,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessPolicy](#accesspolicy)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/access-policies/{policy_id}
|
||||
#### Parameters
|
||||
@@ -11205,9 +11187,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessPolicy](#accesspolicy)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /workspaces/current/rbac/access-policies/{policy_id}/copy
|
||||
#### Parameters
|
||||
@@ -11218,9 +11200,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 201 | Policy copied | **application/json**: [AccessPolicy](#accesspolicy)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/access-policy-bindings/{binding_id}/lock
|
||||
#### Parameters
|
||||
@@ -11231,9 +11213,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessPolicyBindingState](#accesspolicybindingstate)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/access-policy-bindings/{binding_id}/unlock
|
||||
#### Parameters
|
||||
@@ -11244,9 +11226,153 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [DELETE] /workspaces/current/rbac/agents/{agent_id}/access-policies/{policy_id}/member-bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
| policy_id | path | | Yes | string |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [_DeleteMemberBindingsRequest](#_deletememberbindingsrequest)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessPolicyBindingState](#accesspolicybindingstate)<br> |
|
||||
| 200 | Success | **application/json**: [MemberBindingsResponse](#memberbindingsresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/access-policies/{policy_id}/member-bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
| policy_id | path | | Yes | string |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [MemberBindingsResponse](#memberbindingsresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/access-policies/{policy_id}/role-bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
| policy_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RoleBindingsResponse](#rolebindingsresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/access-policy
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| language | query | Localized policy label language | No | string, <br>**Available values:** "en", "ja", "zh" |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AgentAccessMatrix](#agentaccessmatrix)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/user-access-policies
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| language | query | Localized policy label language | No | string, <br>**Available values:** "en", "ja", "zh" |
|
||||
| limit | query | | No | integer |
|
||||
| page | query | | No | integer |
|
||||
| reverse | query | | No | boolean |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [ResourceUserAccessPoliciesResponse](#resourceuseraccesspoliciesresponse)<br> |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/agents/{agent_id}/users/{target_account_id}/access-policies
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
| target_account_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [ReplaceUserAccessPolicies](#replaceuseraccesspolicies)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [ReplaceUserAccessPoliciesResponse](#replaceuseraccesspoliciesresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/whitelist
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [ResourceWhitelist](#resourcewhitelist)<br> |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/agents/{agent_id}/whitelist
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [_ResourceAccessScopeRequest](#_resourceaccessscoperequest)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [ResourceWhitelist](#resourcewhitelist)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/agents/{agent_id}/whitelist_config
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| agent_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [ResourceWhitelistConfig](#resourcewhitelistconfig)<br> |
|
||||
|
||||
### [DELETE] /workspaces/current/rbac/apps/{app_id}/access-policies/{policy_id}/member-bindings
|
||||
#### Parameters
|
||||
@@ -11582,6 +11708,13 @@ Returns permission flags that control workspace features like member invitations
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [PermissionCatalogResponse](#permissioncatalogresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/role-permissions/catalog/agent
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [PermissionCatalogResponse](#permissioncatalogresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/role-permissions/catalog/app
|
||||
#### Responses
|
||||
|
||||
@@ -11599,16 +11732,16 @@ Returns permission flags that control workspace features like member invitations
|
||||
### [GET] /workspaces/current/rbac/roles
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [_RBACRoleList](#_rbacrolelist)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /workspaces/current/rbac/roles
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 201 | Role created | **application/json**: [RBACRole](#rbacrole)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [DELETE] /workspaces/current/rbac/roles/{role_id}
|
||||
#### Parameters
|
||||
@@ -11619,9 +11752,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RBACRole](#rbacrole)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /workspaces/current/rbac/roles/{role_id}
|
||||
#### Parameters
|
||||
@@ -11632,9 +11765,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RBACRole](#rbacrole)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/roles/{role_id}
|
||||
#### Parameters
|
||||
@@ -11645,9 +11778,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RBACRole](#rbacrole)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [POST] /workspaces/current/rbac/roles/{role_id}/copy
|
||||
#### Parameters
|
||||
@@ -11658,9 +11791,9 @@ Returns permission flags that control workspace features like member invitations
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 201 | Role copied | **application/json**: [RBACRole](#rbacrole)<br> |
|
||||
| Code | Description |
|
||||
| ---- | ----------- |
|
||||
| 200 | Success |
|
||||
|
||||
### [GET] /workspaces/current/rbac/roles/{role_id}/members
|
||||
#### Parameters
|
||||
@@ -11675,6 +11808,58 @@ Returns permission flags that control workspace features like member invitations
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [_MembersInRoleList](#_membersinrolelist)<br> |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/workspace/agents/access-policies/{policy_id}/bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| policy_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Request Body
|
||||
|
||||
| Required | Schema |
|
||||
| -------- | ------ |
|
||||
| Yes | **application/json**: [_ReplaceBindingsRequest](#_replacebindingsrequest)<br> |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [AccessMatrixItem](#accessmatrixitem)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/workspace/agents/access-policies/{policy_id}/member-bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| policy_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [MemberBindingsResponse](#memberbindingsresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/workspace/agents/access-policies/{policy_id}/role-bindings
|
||||
#### Parameters
|
||||
|
||||
| Name | Located in | Description | Required | Schema |
|
||||
| ---- | ---------- | ----------- | -------- | ------ |
|
||||
| policy_id | path | | Yes | string (uuid) |
|
||||
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [RoleBindingsResponse](#rolebindingsresponse)<br> |
|
||||
|
||||
### [GET] /workspaces/current/rbac/workspace/agents/access-policy
|
||||
#### Responses
|
||||
|
||||
| Code | Description | Schema |
|
||||
| ---- | ----------- | ------ |
|
||||
| 200 | Success | **application/json**: [WorkspaceAccessMatrix](#workspaceaccessmatrix)<br> |
|
||||
|
||||
### [PUT] /workspaces/current/rbac/workspace/apps/access-policies/{policy_id}/bindings
|
||||
#### Parameters
|
||||
|
||||
@@ -13401,6 +13586,13 @@ Model class for AI model.
|
||||
| chat_prompt_config | object | | No |
|
||||
| completion_prompt_config | object | | No |
|
||||
|
||||
#### AgentAccessMatrix
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
| ---- | ---- | ----------- | -------- |
|
||||
| agent_id | string | | No |
|
||||
| items | [ [AccessMatrixItem](#accessmatrixitem) ] | | No |
|
||||
|
||||
#### AgentApiAccessResponse
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
@@ -19598,6 +19790,7 @@ Model with provider entity.
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
| ---- | ---- | ----------- | -------- |
|
||||
| agent | [ResourcePermissionSnapshot](#resourcepermissionsnapshot) | | No |
|
||||
| app | [ResourcePermissionSnapshot](#resourcepermissionsnapshot) | | No |
|
||||
| dataset | [ResourcePermissionSnapshot](#resourcepermissionsnapshot) | | No |
|
||||
| workspace | [WorkspacePermissionSnapshot](#workspacepermissionsnapshot) | | No |
|
||||
|
||||
Reference in new issue
Block a user