Hi!
I made a simple custom entity and custom list view for it (/client/ ... /list.js)
within the list.js I add some buttons into menu.
Under root user everything works very well, however under non-admin user - i still could see & manage my custom entity,
but custom buttons are not displayed at all (however acl is set to 'view' )
I made a simple custom entity and custom list view for it (/client/ ... /list.js)
within the list.js I add some buttons into menu.
Under root user everything works very well, however under non-admin user - i still could see & manage my custom entity,
but custom buttons are not displayed at all (however acl is set to 'view' )
Code:
Espo.define('custom:views/certificate/list', 'views/list', function (Dep) {
//recordView: 'custom:views/certificate/record/list',
return Dep.extend({
setup: function () {
Dep.prototype.setup.call(this);
this.menu.actions.push({
name: 'printPDFCertificates',
label: 'Print PDF Certificate (on selected)',
action: 'printPDFCertificates',
acl: 'view'
});
this.menu.actions.push({
name: 'printPDFCertificatesForm',
label: 'Print PDF Certificate (blank form)',
action: 'printPDFCertificatesForm',
acl: 'view'
});
},
..

Comment