TF-4392 [Team Mailbox] Allow delete folder according to my rights.
This commit is contained in:
@@ -100,6 +100,8 @@ mixin MailboxWidgetMixin {
|
||||
MailboxActions.enableMailbox,
|
||||
if (mailbox.isTrash && mailbox.myRights?.mayRemoveItems == true)
|
||||
MailboxActions.emptyTrash,
|
||||
if (mailbox.myRights?.mayDelete == true)
|
||||
MailboxActions.delete,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user