mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
feat: add agent resource permissions (#41940)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
e8c3419d1f
commit
f89c3e6ec7
141 files changed
+3280
-1958
No files matched your search
@@ -377,6 +377,7 @@ import {
|
||||
zPostWorkspacesCurrentPluginUploadGithubResponse,
|
||||
zPostWorkspacesCurrentPluginUploadPkgBody,
|
||||
zPostWorkspacesCurrentPluginUploadPkgResponse,
|
||||
zPostWorkspacesCurrentRbacAccessPoliciesBody,
|
||||
zPostWorkspacesCurrentRbacAccessPoliciesByPolicyIdCopyPath,
|
||||
zPostWorkspacesCurrentRbacAccessPoliciesByPolicyIdCopyResponse,
|
||||
zPostWorkspacesCurrentRbacAccessPoliciesResponse,
|
||||
@@ -480,6 +481,7 @@ import {
|
||||
zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsBody,
|
||||
zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsPath,
|
||||
zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsResponse,
|
||||
zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdBody,
|
||||
zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdPath,
|
||||
zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdResponse,
|
||||
zPutWorkspacesCurrentRbacAccessPolicyBindingsByBindingIdLockPath,
|
||||
@@ -2348,7 +2350,12 @@ export const put5 = oc
|
||||
path: '/workspaces/current/rbac/access-policies/{policy_id}',
|
||||
tags: ['console'],
|
||||
})
|
||||
.input(z.object({ params: zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdPath }))
|
||||
.input(
|
||||
z.object({
|
||||
body: zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdBody,
|
||||
params: zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdPath,
|
||||
}),
|
||||
)
|
||||
.output(zPutWorkspacesCurrentRbacAccessPoliciesByPolicyIdResponse)
|
||||
|
||||
export const byPolicyId = {
|
||||
@@ -2374,8 +2381,10 @@ export const post45 = oc
|
||||
method: 'POST',
|
||||
operationId: 'postWorkspacesCurrentRbacAccessPolicies',
|
||||
path: '/workspaces/current/rbac/access-policies',
|
||||
successStatus: 201,
|
||||
tags: ['console'],
|
||||
})
|
||||
.input(z.object({ body: zPostWorkspacesCurrentRbacAccessPoliciesBody }))
|
||||
.output(zPostWorkspacesCurrentRbacAccessPoliciesResponse)
|
||||
|
||||
export const accessPolicies = {
|
||||
|
||||
Reference in new issue
Block a user