kb: hide side for portal

This commit is contained in:
yuri
2018-01-17 14:35:11 +02:00
parent 451aa7f5da
commit e9750e145f
@@ -33,6 +33,10 @@ Espo.define('crm:views/knowledge-base-article/record/detail', 'views/record/deta
setup: function () {
Dep.prototype.setup.call(this);
if (this.getUser().isPortal()) {
this.sideDisabled = true;
}
if (this.getAcl().checkScope('Email', 'create')) {
this.dropdownItemList.push({
'label': 'Send in Email',