diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-10 08:17:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 08:17:23 -0400 |
| commit | 52a0e603f77d1a82fe7f06badb9717813ef38e05 (patch) | |
| tree | 5f003529829719058600a43e2c84717744161bf1 /src/client/views/collections/CollectionView.tsx | |
| parent | 88afbd3c9e8e0233c42ddd4549017ae89b64d62f (diff) | |
| parent | 3dab659503e98fe75a9c0671057771ff666d7e10 (diff) | |
Merge pull request #521 from browngraphicslab/acls_uv
Bugfix and new stuff
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 837ae7e86..0feec3fbd 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -151,7 +151,7 @@ export class CollectionView extends Touchable<FieldViewProps & CollectionViewCus if (this.props.Document[AclSym]) { added.forEach(d => { for (const [key, value] of Object.entries(this.props.Document[AclSym])) { - if (d.author === Doc.CurrentUserEmail && !d.aliasOf) distributeAcls(key, SharingPermissions.Admin, d, true); + if (d.author === key.substring(4).replace("_", ".") && !d.aliasOf) distributeAcls(key, SharingPermissions.Admin, d, true); else distributeAcls(key, this.AclMap.get(value) as SharingPermissions, d, true); } }); |
