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

Allow selecting by ID but not listing rows #39

Open
ianobermiller opened this issue May 16, 2022 · 0 comments
Open

Allow selecting by ID but not listing rows #39

ianobermiller opened this issue May 16, 2022 · 0 comments

Comments

@ianobermiller
Copy link
Collaborator

I have an app that lets you create a calendar. I want you to be able to mark a calendar as publicly visible so anyone can view, but not edit it, with the link.

I can do this easily with row-level security. However, once I do so, it is trivial for users to also query ALL publicly visible calendars. Is there any way to require a query to specific an ID with row-level security?

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

1 participant