By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
ALTER TABLE
ALTER TABLE
CREATE POLICY
CREATE ROLE
GRANT
GRANT
SET
| current_user |
|---|
| another_user |
SELECT 1
ERROR: new row violates row-level security policy for table "boards"
SET
| id | edit_link |
|---|---|
| 2 | example.com/mypage |
INSERT 0 1
ERROR: new row violates row-level security policy for table "boards"
| id | edit_link |
|---|
DELETE 0
| id | edit_link |
|---|
UPDATE 0
ERROR: new row violates row-level security policy for table "boards"
| id | edit_link |
|---|---|
| 2 | example.com/mypage |
DELETE 1