diff options
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 9c0f4ba1f..469e4d944 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -195,6 +195,7 @@ export function SetCachedGroups(groups: string[]) { } function getEffectiveAcl(target: any, user?: string): symbol { const targetAcls = target[DocAcl]; + console.log(target.title, targetAcls) if (targetAcls?.['acl-Me'] === AclAdmin || GetCachedGroupByName('Admin')) return AclAdmin; const userChecked = user || Doc.CurrentUserEmail; // if the current user is the author of the document / the current user is a member of the admin group |