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
Modifying PK on a table disables FORCE RLS. #19815
Labels
area/ysql
Yugabyte SQL (YSQL)
jira-originated
kind/new-feature
This is a request for a completely new feature
priority/high
High Priority
Comments
yugabyte-ci
added
jira-originated
kind/new-feature
This is a request for a completely new feature
priority/high
High Priority
status/awaiting-triage
Issue awaiting triage
area/ysql
Yugabyte SQL (YSQL)
labels
Nov 2, 2023
fizaaluthra
changed the title
Modifying PK on a table disables RLS.
Modifying PK on a table disables FORCE RLS.
Nov 14, 2023
note: |
fizaaluthra
added a commit
that referenced
this issue
Nov 15, 2023
Summary: Currently, when copying metadata from the old table during table rewrite, we copy `relrowsecurity` but incorrectly omit `relforcerowsecurity`. Both of these fields must be copied to preserve the RLS behavior table rewrite. This diff fixes the issue. Jira: DB-8750 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgAlterTableChangePrimaryKey' Reviewers: myang Reviewed By: myang Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D30164
Spikatrix
pushed a commit
to Spikatrix/yugabyte-db
that referenced
this issue
Nov 29, 2023
…E RLS setting Summary: Currently, when copying metadata from the old table during table rewrite, we copy `relrowsecurity` but incorrectly omit `relforcerowsecurity`. Both of these fields must be copied to preserve the RLS behavior table rewrite. This diff fixes the issue. Jira: DB-8750 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgAlterTableChangePrimaryKey' Original commit: 8ce7cb8 / D30164 Reviewers: myang Reviewed By: myang Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30320
Spikatrix
pushed a commit
to Spikatrix/yugabyte-db
that referenced
this issue
Nov 29, 2023
…E RLS setting Summary: Currently, when copying metadata from the old table during table rewrite, we copy `relrowsecurity` but incorrectly omit `relforcerowsecurity`. Both of these fields must be copied to preserve the RLS behavior table rewrite. This diff fixes the issue. Jira: DB-8750 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgAlterTableChangePrimaryKey' Original commit: 8ce7cb8 / D30164 Reviewers: myang Reviewed By: myang Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30321
fizaaluthra
added a commit
that referenced
this issue
Dec 4, 2023
…tting Summary: Currently, when copying metadata from the old table during table rewrite, we copy `relrowsecurity` but incorrectly omit `relforcerowsecurity`. Both of these fields must be copied to preserve the RLS behavior table rewrite. This diff fixes the issue. Jira: DB-8750 Original commit: 8ce7cb8 / D30164 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgAlterTableChangePrimaryKey' Reviewers: myang Reviewed By: myang Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30610
fizaaluthra
added a commit
that referenced
this issue
Dec 7, 2023
…tting Summary: Currently, when copying metadata from the old table during table rewrite, we copy `relrowsecurity` but incorrectly omit `relforcerowsecurity`. Both of these fields must be copied to preserve the RLS behavior table rewrite. This diff fixes the issue. Jira: DB-8750 Original commit: 8ce7cb8 / D30164 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgAlterTableChangePrimaryKey' Reviewers: myang Reviewed By: myang Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D30645
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/ysql
Yugabyte SQL (YSQL)
jira-originated
kind/new-feature
This is a request for a completely new feature
priority/high
High Priority
Jira Link: DB-8750
The text was updated successfully, but these errors were encountered: