build: Packaging error (#3772)

This commit is contained in:
shaohuzhang1 2025-07-30 10:25:12 +08:00 committed by GitHub
parent a3a124d581
commit e28ea0d849
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,21 +13,12 @@ const systemManage = {
'OR', 'OR',
), ),
create: () => false, create: () => false,
modify: () => modify: (id: string) =>
hasPermission([ hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_EDIT], 'OR'),
RoleConst.ADMIN, paramSetting: (id: string) =>
PermissionConst.RESOURCE_MODEL_EDIT hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_EDIT], 'OR'),
],'OR'), delete: (id: string) =>
paramSetting: () => hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_DELETE], 'OR'),
hasPermission([
RoleConst.ADMIN,
PermissionConst.RESOURCE_MODEL_EDIT
],'OR'),
delete: () =>
hasPermission([
RoleConst.ADMIN,
PermissionConst.RESOURCE_MODEL_DELETE
],'OR'),
folderCreate: () => false, folderCreate: () => false,
folderEdit: () => false, folderEdit: () => false,