mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
kb ui acl fix
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"scopeFieldLevel": {
|
||||
"KnowledgeBaseArticle": {
|
||||
"portals": false,
|
||||
"order": false
|
||||
"order": false,
|
||||
"status": false
|
||||
},
|
||||
"Case": {
|
||||
"status": {
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user