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

sql,security: support row level security #73596

Open
18 of 35 tasks
eiDear opened this issue Dec 8, 2021 · 7 comments
Open
18 of 35 tasks

sql,security: support row level security #73596

eiDear opened this issue Dec 8, 2021 · 7 comments
Assignees
Labels
A-security A-sql-privileges SQL privilege handling and permission checks. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) meta-issue Contains a list of several other issues. O-community Originated from the community T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@eiDear
Copy link

eiDear commented Dec 8, 2021

Support more fine-grained security control,such as row-level security. Different users/roles can view different rows of table.
An example is Rows Security Policies about PostgreSQL

MVP

Post-MVP

Epic CRDB-11724

Jira issue: CRDB-11657

@eiDear eiDear added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Dec 8, 2021
@blathers-crl
Copy link

blathers-crl bot commented Dec 8, 2021

Hello, I am Blathers. I am here to help you get the issue triaged.

It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates.

I was unable to automatically find someone to ping.

If we have not gotten back to your issue within a few business days, you can try the following:

  • Join our community slack channel and ask on #cockroachdb.
  • Try find someone from here if you know they worked closely on the area and CC them.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@blathers-crl blathers-crl bot added O-community Originated from the community X-blathers-untriaged blathers was unable to find an owner labels Dec 8, 2021
@rafiss rafiss removed the X-blathers-untriaged blathers was unable to find an owner label Dec 9, 2021
@rafiss
Copy link
Collaborator

rafiss commented Dec 9, 2021

Thanks for this request! We hope to get to this in a future release, but don't have a definite timeline right now.

@rafiss rafiss added A-security A-sql-privileges SQL privilege handling and permission checks. labels Dec 9, 2021
@blathers-crl blathers-crl bot added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Dec 9, 2021
@rafiss rafiss changed the title security: support row level security sql,security: support row level security Dec 9, 2021
@danthegoodman1
Copy link

Any update on timeline?

@clibequilibrium
Copy link

Joining the topic as well

@recanman
Copy link

Bumping this issue as it is currently inhibiting me from efficiency isolating tenant data without having to create separate schemas. RLS is a very nice feature of Postgres and it would be great if CockroachDB could implement it as well.

@spilchen spilchen added the meta-issue Contains a list of several other issues. label Dec 5, 2024
@Perusae
Copy link

Perusae commented Mar 10, 2025

For a system designed around multi-tenant workflows, it is astonishing to see this absence of row-level isolation. Combining it with AI, which assumes PostgreSQL compatibility (wire protocol, but the rest is mix of partially implemented features), only for the end user to hit into wall after wall. The day that PostgreSQL implements proper distribution, is the day that CRDB sales will drop.

@dikshant
Copy link

RLS is being actively worked on and we are targeting 25.2 (May) for a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-security A-sql-privileges SQL privilege handling and permission checks. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) meta-issue Contains a list of several other issues. O-community Originated from the community T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

8 participants