mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Small cleanup of #157
This commit is contained in:
parent
c09106472f
commit
a761bdcaaa
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export class FolderACLRightsModel extends AbstractModel {
|
||||||
json.rights = json.rights.split('');
|
json.rights = json.rights.split('');
|
||||||
return super.reviveFromJson(json);
|
return super.reviveFromJson(json);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
get mayReadItems() { return this.rights.includes('l') && this.rights.includes('r'); }
|
get mayReadItems() { return this.rights.includes('l') && this.rights.includes('r'); }
|
||||||
get mayAddItems() { return this.rights.includes('i'); }
|
get mayAddItems() { return this.rights.includes('i'); }
|
||||||
get mayRemoveItems() { return this.rights.includes('t') && this.rights.includes('e'); }
|
get mayRemoveItems() { return this.rights.includes('t') && this.rights.includes('e'); }
|
||||||
|
|
@ -49,6 +49,7 @@ export class FolderACLRightsModel extends AbstractModel {
|
||||||
get mayRename() { return this.rights.includes('x'); }
|
get mayRename() { return this.rights.includes('x'); }
|
||||||
get mayDelete() { return this.rights.includes('x'); }
|
get mayDelete() { return this.rights.includes('x'); }
|
||||||
get maySubmit() { return this.rights.includes('p'); }
|
get maySubmit() { return this.rights.includes('p'); }
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
export class FolderPopupView extends AbstractViewPopup {
|
export class FolderPopupView extends AbstractViewPopup {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue