Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Small cleanup of #157
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Aug 20, 2024
1 parent c091064 commit a761bdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/View/Popup/Folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class FolderACLRightsModel extends AbstractModel {
json.rights = json.rights.split('');
return super.reviveFromJson(json);
}

/*
get mayReadItems() { return this.rights.includes('l') && this.rights.includes('r'); }
get mayAddItems() { return this.rights.includes('i'); }
get mayRemoveItems() { return this.rights.includes('t') && this.rights.includes('e'); }
Expand All @@ -49,6 +49,7 @@ export class FolderACLRightsModel extends AbstractModel {
get mayRename() { return this.rights.includes('x'); }
get mayDelete() { return this.rights.includes('x'); }
get maySubmit() { return this.rights.includes('p'); }
*/
}

export class FolderPopupView extends AbstractViewPopup {
Expand Down

0 comments on commit a761bdc

Please sign in to comment.