mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Small cleanup of #157
This commit is contained in:
parent
c09106472f
commit
a761bdcaaa
|
@ -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…
Reference in a new issue