Improved ACL handling #157

This commit is contained in:
the-djmaze
2024-02-13 10:44:38 +01:00
parent 7e304daee0
commit 306d3ec7b5
8 changed files with 110 additions and 116 deletions

View File

@@ -402,8 +402,6 @@ export class FolderModel extends AbstractModel {
}
),
canBeEdited: () => !this.type() && this.exists/* && this.selectable()*/,
isSystemFolder: () => this.type()
| (FolderUserStore.allowKolab() && !!this.kolabType() & !SettingsUserStore.unhideKolabFolders()),
@@ -484,8 +482,7 @@ export class FolderModel extends AbstractModel {
}
edit() {
// this.canBeEdited() && this.editing(true);
this.canBeEdited() && showScreenPopup(FolderPopupView, [this]);
showScreenPopup(FolderPopupView, [this]);
}
unedit() {