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',
),
create: () => false,
modify: () =>
hasPermission([
RoleConst.ADMIN,
PermissionConst.RESOURCE_MODEL_EDIT
],'OR'),
paramSetting: () =>
hasPermission([
RoleConst.ADMIN,
PermissionConst.RESOURCE_MODEL_EDIT
],'OR'),
delete: () =>
hasPermission([
RoleConst.ADMIN,
PermissionConst.RESOURCE_MODEL_DELETE
],'OR'),
modify: (id: string) =>
hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_EDIT], 'OR'),
paramSetting: (id: string) =>
hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_EDIT], 'OR'),
delete: (id: string) =>
hasPermission([RoleConst.ADMIN, PermissionConst.RESOURCE_MODEL_DELETE], 'OR'),
folderCreate: () => false,
folderEdit: () => false,