Skip to content

Add row-level security cookbook recipe#469

Merged
javier merged 1 commit into
mainfrom
jv/row_level_permission_auth
Jun 17, 2026
Merged

Add row-level security cookbook recipe#469
javier merged 1 commit into
mainfrom
jv/row_level_permission_auth

Conversation

@javier

@javier javier commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

New cookbook recipe (Advanced SQL): row-level security in QuestDB Enterprise by filtering rows in a view and granting SELECT on the view.

  • Simple pattern: one filtered view per trading desk, granted to the matching group.
  • Scalable pattern: a master view with an OVERRIDABLE filter plus thin per-desk views that pin the value (non-overridable to callers), so the filter logic lives in one place.
  • Explains why callers cannot escape the filter, covers users and service accounts, and adds a posting/covering index note for selective filters.

View and DECLARE OVERRIDABLE behaviour validated against a local instance; GRANT semantics follow the existing Views and RBAC docs.

@github-actions

Copy link
Copy Markdown

🚀 Build success!

Latest successful preview: https://preview-469--questdb-documentation.netlify.app/docs/

Commit SHA: 882cb78

📦 Build generates a preview & updates link on each commit.

@javier javier merged commit 1a82d16 into main Jun 17, 2026
3 checks passed
@javier javier deleted the jv/row_level_permission_auth branch June 17, 2026 14:08
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