mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 11:04:27 +08:00
Merge branch 'access_point' into deploy/dev
This commit is contained in:
commit
ad20475144
@ -475,7 +475,7 @@ _LEGACY_WORKSPACE_DATASET_OPERATOR_KEYS: list[str] = [
|
||||
|
||||
_LEGACY_APP_OWNER_KEYS: list[str] = [
|
||||
"app.acl.preview",
|
||||
"access_point.manage",
|
||||
"app.acl.access_point_manage",
|
||||
"app.acl.view_layout",
|
||||
"app.acl.test_and_run",
|
||||
"app.acl.edit",
|
||||
@ -491,7 +491,7 @@ _LEGACY_APP_OWNER_KEYS: list[str] = [
|
||||
_LEGACY_APP_ADMIN_KEYS: list[str] = [
|
||||
"app.acl.preview",
|
||||
"app.acl.view_layout",
|
||||
"access_point.manage",
|
||||
"app.acl.access_point_manage",
|
||||
"app.acl.test_and_run",
|
||||
"app.acl.edit",
|
||||
"app.acl.import_export_dsl",
|
||||
@ -506,7 +506,7 @@ _LEGACY_APP_ADMIN_KEYS: list[str] = [
|
||||
|
||||
_LEGACY_APP_EDITOR_KEYS: list[str] = [
|
||||
"app.acl.preview",
|
||||
"access_point.manage",
|
||||
"app.acl.access_point_manage",
|
||||
"app.acl.view_layout",
|
||||
"app.acl.test_and_run",
|
||||
"app.acl.edit",
|
||||
|
||||
@ -2,7 +2,7 @@ import type { PermissionKey } from '@/models/access-control'
|
||||
|
||||
export const AppACLPermission = {
|
||||
Preview: 'app.acl.preview',
|
||||
AccessPoint: 'access_point.manage',
|
||||
AccessPoint: 'app.acl.access_point_manage',
|
||||
ViewLayout: 'app.acl.view_layout',
|
||||
TestAndRun: 'app.acl.test_and_run',
|
||||
Edit: 'app.acl.edit',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user