diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-07-24 19:15:52 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-07-24 19:15:52 +0530 |
commit | 150d1b3ea263dd0d6d8189d8bf6fd87c5505cfc4 (patch) | |
tree | 9fe336f38dfd60c5a2324ed01700581247595da5 /src/client/views/DocComponent.tsx | |
parent | 2f49497e9d74eda97b2327ca4dbcb0a11ac6c6c9 (diff) |
fixed instances of AclEdit to include AclAdmin
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 00d570670..cfabae8a1 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -150,7 +150,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T const effectiveAcl = GetEffectiveAcl(this.dataDoc); if (added.length) { - if (effectiveAcl === AclReadonly && !getPlaygroundMode()) { + if (effectiveAcl === AclPrivate || (effectiveAcl === AclReadonly && !getPlaygroundMode())) { return false; } else { |