-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public sharing #121
public sharing #121
Conversation
src/main.tsx
Outdated
|
||
const publicSharingToken = document.getElementById('sharingToken')?.value || null | ||
|
||
if (publicSharingToken) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also limit this to single file shares (see https://github.com/nextcloud/text/blob/main/src/public.js#L143-L151 how text checks for if a files table is rendered)
bd1fcf6
to
2c52b6d
Compare
82a682a
to
9a6aad5
Compare
We should make sure to set the viewModeEnabled to enforce read only depending on permissions in the frontend: https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props/#viewmodeenabled In addition we should also block handling SCENE_INIT payloads from read only clients on the node backend |
9a6aad5
to
5678a1a
Compare
@juliushaertl Yes we already have that and working okay with sharing to specific person:
Find out that i have wrongly taken the permissions of the Share, it should be |
Ok, strange, I would actually expect |
5678a1a
to
b6f3b8a
Compare
Signed-off-by: Hoang Pham <[email protected]>
Signed-off-by: Julius Knorr <[email protected]>
Signed-off-by: Julius Knorr <[email protected]>
Signed-off-by: Julius Knorr <[email protected]>
b6f3b8a
to
596642d
Compare
No description provided.