Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2468717

Browse files
committedJun 23, 2025·
feat: Tool permission
1 parent add71a4 commit 2468717

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎ui/src/permission/tool/system-manage.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ const workspace = {
1313
'OR',
1414
),
1515
delete: () => false,
16+
create: () => false,
17+
switch: () => false,
18+
edit: () => false,
19+
copy: () => false,
20+
export: () => false,
21+
debug: () => false,
22+
1623
}
1724

1825
export default workspace

‎ui/src/permission/tool/system-share.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@ import { EditionConst, PermissionConst, RoleConst } from '@/utils/permission/dat
44
const share = {
55
is_share: () => false,
66
delete: () => false,
7+
create: () => false,
8+
switch: () => false,
9+
edit: () => false,
10+
copy: () => false,
11+
export: () => false,
12+
debug: () => false,
713
}
814
export default share

0 commit comments

Comments
 (0)
Please sign in to comment.