diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-07-07 13:04:21 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-07-07 13:04:21 -0400 |
commit | dd628b8b175d866fc39342a3f91e62bda3b63ba3 (patch) | |
tree | 6f09369411eaeaae21c27e8eb62933b31ab99120 /src/client/util/SharingManager.tsx | |
parent | 3dde1b790b0f29c0dca4d35ad91c1f389efe831a (diff) |
guest permission fixes
Diffstat (limited to 'src/client/util/SharingManager.tsx')
-rw-r--r-- | src/client/util/SharingManager.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx index 67b4d9d1a..3a0672113 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -582,7 +582,7 @@ export class SharingManager extends React.Component<{}> { </div> </div> ) : null, - sameAuthor && targetDoc?.author !== Doc.CurrentUserEmail ? ( + sameAuthor && targetDoc?.author !== Doc.CurrentUserEmail && Doc.CurrentUserEmail != 'guest' ? ( <div key={'me'} className={'container'}> <span className={'padding'}>Me</span> <div className="edit-actions"> |