build: Packaging error (#3772)
This commit is contained in:
parent
a3a124d581
commit
e28ea0d849
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user