aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/ContextMenu.scss2
-rw-r--r--src/client/views/nodes/FilterBox.scss1
-rw-r--r--src/fields/util.ts3
3 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/ContextMenu.scss b/src/client/views/ContextMenu.scss
index 59848c3e5..7467bc043 100644
--- a/src/client/views/ContextMenu.scss
+++ b/src/client/views/ContextMenu.scss
@@ -11,8 +11,6 @@
padding-bottom: 10px;
border-radius: 15px;
border: solid #BBBBBBBB 1px;
- max-height: 550;
- overflow-y: scroll;
}
// .contextMenu-item:first-child {
diff --git a/src/client/views/nodes/FilterBox.scss b/src/client/views/nodes/FilterBox.scss
index b39793f01..d32cc0d2b 100644
--- a/src/client/views/nodes/FilterBox.scss
+++ b/src/client/views/nodes/FilterBox.scss
@@ -33,6 +33,7 @@
.filterBox-addFacetButton {
display: flex;
margin: auto;
+ cursor: pointer;
.filterBox-span {
margin-right: 15px;
diff --git a/src/fields/util.ts b/src/fields/util.ts
index 9e5890aa8..31d5cc5f2 100644
--- a/src/fields/util.ts
+++ b/src/fields/util.ts
@@ -165,11 +165,10 @@ export function GetEffectiveAcl(target: any, in_prop?: string | symbol | number,
// if the current user is the author of the document / the current user is a member of the admin group
const userChecked = user || Doc.CurrentUserEmail;
if (userChecked === (target.__fields?.author || target.author)) return AclAdmin;
+ if (currentUserGroups.includes("Admin")) return AclAdmin;
if (target[AclSym] && Object.keys(target[AclSym]).length) {
- if (currentUserGroups.includes("Admin")) return AclAdmin;
-
// if the acl is being overriden or the property being modified is one of the playground fields (which can be freely modified)
if (_overrideAcl || (in_prop && DocServer.PlaygroundFields?.includes(in_prop.toString()))) return AclEdit;