kb ui acl fix

This commit is contained in:
yuri
2017-04-27 12:36:02 +03:00
parent 9460943ad2
commit ca445a3cb7
2 changed files with 8 additions and 5 deletions

View File

@@ -11,7 +11,8 @@
"scopeFieldLevel": {
"KnowledgeBaseArticle": {
"portals": false,
"order": false
"order": false,
"status": false
},
"Case": {
"status": {

View File

@@ -33,10 +33,12 @@ Espo.define('crm:views/knowledge-base-article/record/detail', 'views/record/deta
setup: function () {
Dep.prototype.setup.call(this);
this.dropdownItemList.push({
'label': 'Send in Email',
'name': 'sendInEmail'
});
if (this.getAcl().checkScope('Email', 'create')) {
this.dropdownItemList.push({
'label': 'Send in Email',
'name': 'sendInEmail'
});
}
},
actionSendInEmail: function () {