mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 06:58:27 +03:00
Define JMAP FolderModel.myRights
This commit is contained in:
parent
ea55eb13e5
commit
7f40c317d0
3 changed files with 40 additions and 24 deletions
|
|
@ -366,20 +366,19 @@ export class FolderModel extends AbstractModel {
|
|||
})
|
||||
.extend({ notify: 'always' });
|
||||
*/
|
||||
/*
|
||||
https://www.rfc-editor.org/rfc/rfc8621.html#section-2
|
||||
"myRights": {
|
||||
"mayAddItems": true,
|
||||
"mayRename": false,
|
||||
"maySubmit": true,
|
||||
"mayDelete": false,
|
||||
"maySetKeywords": true,
|
||||
"mayRemoveItems": true,
|
||||
"mayCreateChild": true,
|
||||
"maySetSeen": true,
|
||||
"mayReadItems": true
|
||||
},
|
||||
*/
|
||||
|
||||
// https://www.rfc-editor.org/rfc/rfc8621.html#section-2
|
||||
this.myRights = {
|
||||
'mayAddItems': true,
|
||||
'mayCreateChild': true,
|
||||
'mayDelete': true,
|
||||
'mayReadItems': true,
|
||||
'mayRemoveItems': true,
|
||||
'mayRename': true,
|
||||
'maySetKeywords': true,
|
||||
'maySetSeen': true,
|
||||
'maySubmit': true
|
||||
};
|
||||
|
||||
this.addComputables({
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue