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

Fine-grained Permissions possible? #804

Open
MentalGear opened this issue Feb 15, 2024 · 1 comment
Open

Fine-grained Permissions possible? #804

MentalGear opened this issue Feb 15, 2024 · 1 comment

Comments

@MentalGear
Copy link

MentalGear commented Feb 15, 2024

Very fine open-source library!
After searching the docs, I have not found how to set role/user based permissions.
For example:

If a have a colab notes space:

  • some notes should be read-only for certain members
  • some notes only private to owner
  • some notes read-only

Is this currently even possible with partykit / Y.js?

@threepointone
Copy link
Contributor

It's doable, but you'll have to implement this yourself in userspace. y-partykit itself has a readOnly mode so that should make it a little simpler, but it's otherwise up to your application to implement the rest. I agree it would be nice if we had docs/examples on this.

@partykit partykit deleted a comment from Tangee69 Feb 29, 2024
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

No branches or pull requests

2 participants