diff --git a/application/Espo/Resources/metadata/entityDefs/PortalRole.json b/application/Espo/Resources/metadata/entityDefs/PortalRole.json index 2a52df4c16..c1b7c2acae 100644 --- a/application/Espo/Resources/metadata/entityDefs/PortalRole.json +++ b/application/Espo/Resources/metadata/entityDefs/PortalRole.json @@ -17,14 +17,16 @@ "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": "Role.exportPermission", - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "massUpdatePermission": { "type": "enum", "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": "Role.massUpdatePermission", - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "createdAt": { "type": "datetime", diff --git a/application/Espo/Resources/metadata/entityDefs/Role.json b/application/Espo/Resources/metadata/entityDefs/Role.json index 466f35879d..b04076608b 100644 --- a/application/Espo/Resources/metadata/entityDefs/Role.json +++ b/application/Espo/Resources/metadata/entityDefs/Role.json @@ -11,63 +11,72 @@ "options": ["not-set", "all", "team", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "userPermission": { "type": "enum", "options": ["not-set", "all", "team", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "messagePermission": { "type": "enum", "options": ["not-set", "all", "team", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "portalPermission": { "type": "enum", "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "groupEmailAccountPermission": { "type": "enum", "options": ["not-set", "all", "team", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "exportPermission": { "type": "enum", "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "massUpdatePermission": { "type": "enum", "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "dataPrivacyPermission": { "type": "enum", "options": ["not-set", "yes", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "followerManagementPermission": { "type": "enum", "options": ["not-set", "all", "team", "no"], "default": "not-set", "tooltip": true, - "translation": "Role.options.levelList" + "translation": "Role.options.levelList", + "view": "views/role/fields/permission" }, "data": { "type": "jsonObject" diff --git a/client/res/templates/user/modals/access.tpl b/client/res/templates/user/modals/access.tpl index 619f00158e..66cbd4601f 100644 --- a/client/res/templates/user/modals/access.tpl +++ b/client/res/templates/user/modals/access.tpl @@ -5,7 +5,9 @@