archive email require import access
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
],
|
||||
"dropdown":[
|
||||
{
|
||||
"name": "archiveEmail",
|
||||
"label":"Archive Email",
|
||||
"link":"#Email/create",
|
||||
"acl":"create"
|
||||
|
||||
@@ -253,6 +253,10 @@ class EmailListView extends ListView {
|
||||
});
|
||||
}
|
||||
|
||||
if (!this.getAcl().checkScope('Import')) {
|
||||
this.hideHeaderActionItem('archiveEmail');
|
||||
}
|
||||
|
||||
if (this.getUser().isAdmin()) {
|
||||
this.addMenuItem('dropdown', {
|
||||
link: '#InboundEmail',
|
||||
|
||||
Reference in New Issue
Block a user