diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-06-15 13:41:48 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-06-15 13:41:48 -0400 |
commit | a366394a1db42628b7299947e6c1be2845c9a77d (patch) | |
tree | ab5b9adf07e6b43acd6a181f390fa1ec3abd8732 /src/fields/util.ts | |
parent | 93d9daeda0cf2f411e8f642bc90fa561d1877c60 (diff) |
fixed group sharing distribution bug and group sharing in the properties menu
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 |