This commit is contained in:
2020-03-02 23:05:33 +00:00
parent 0223179c6e
commit 05fc172f3e
3 changed files with 16 additions and 13 deletions

View File

@@ -91,8 +91,12 @@ export default {
if (
ctx.formData &&
ctx.formData.formCustomTemplateKey != undefined &&
window.$gz.role.hasRole(window.$gz.role.AUTHORIZATION_ROLES.BizAdminFull)
window.$gz.role.hasRole([
window.$gz.role.AUTHORIZATION_ROLES.BizAdminFull,
window.$gz.role.AUTHORIZATION_ROLES.BizAdminLimited
])
) {
//NOTE: BizAdminFull can edit, bizadminlimited can read only
//add customize menu item
//DIVIDER
//Insert the devider between context and global items