Skip to content
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

graphql-server: Add readOnlyId prop to sharedNotes #18658

Conversation

gustavotrott
Copy link
Collaborator

@gustavotrott gustavotrott commented Aug 29, 2023

BBB used to employ Etherpad's read-only view for users who didn't have writing privileges. This functionality was modified by #13916.

After some tests, I found that bbb-pads automatically invalidates a user's session once they lose writing rights. As a result, even if the user tries to restore their previous session, they will no longer have the ability to modify the note.

For the upcoming BBB 2.8 release, I plan to conduct tests utilizing Etherpad's read-only mode. This is because the read-only mode offers a significantly improved user experience.

This particular PR handle the PadCreatedEvtMsg message which will begin to bring readOnlyID, store it in the database and provide through Graphql.

Depends on: bigbluebutton/bbb-pads#34 (and then tweak https://github.com/bigbluebutton/bigbluebutton/blob/develop/bbb-pads.placeholder.sh)

@sonarcloud
Copy link

sonarcloud bot commented Aug 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@gustavotrott gustavotrott marked this pull request as draft August 29, 2023 19:49
@antobinary antobinary added this to the Release 2.8 milestone Sep 7, 2023
@antobinary antobinary changed the base branch from develop to v3.0.x-release September 25, 2023 19:48
@gustavotrott gustavotrott deleted the sharedNotes-store-readOnlyId branch March 11, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants