-
Notifications
You must be signed in to change notification settings - Fork 0
feat(db): complete PostgreSQL RLS rollout by access family #601
Copy link
Copy link
Open
Copy link
Labels
area: dataPrisma, migrations, seed/import pipelines, transactions, and persistence invariantsPrisma, migrations, seed/import pipelines, transactions, and persistence invariantsarea: infrastructureProduction runtime, Cloudflare, storage, containers, deployment, and releasesProduction runtime, Cloudflare, storage, containers, deployment, and releaseskind: docsKind: docsKind: docsreleasedtaskDevelopment task tracking issue (org board)Development task tracking issue (org board)
Description
Activity
Metadata
Metadata
Assignees
Labels
area: dataPrisma, migrations, seed/import pipelines, transactions, and persistence invariantsPrisma, migrations, seed/import pipelines, transactions, and persistence invariantsarea: infrastructureProduction runtime, Cloudflare, storage, containers, deployment, and releasesProduction runtime, Cloudflare, storage, containers, deployment, and releaseskind: docsKind: docsKind: docsreleasedtaskDevelopment task tracking issue (org board)Development task tracking issue (org board)
目标
按数据访问场景完成 PostgreSQL RLS:普通用户只能访问有权限的数据,公开内容保持可读;应用运行、登录、导入和 migration 各用最小权限的数据库身份。
当前进度
BYPASSRLS的运行角色;用户身份在短事务内设置,不跨请求缓存。剩余工作
验收