digitallyinduced / digitallyinduced/thin-backend

Allow selecting by ID but not listing rows

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I have an [app that lets you create a calendar](https://obermillers.com/cal/). 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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.