Skip to content

Add lesson 40: Roles and privileges#100

Merged
exekias merged 1 commit into
mainfrom
lesson/40-roles-and-privileges
Jul 14, 2026
Merged

Add lesson 40: Roles and privileges#100
exekias merged 1 commit into
mainfrom
lesson/40-roles-and-privileges

Conversation

@exekias

@exekias exekias commented Jul 2, 2026

Copy link
Copy Markdown
Member

Adds Roles and privileges (roadmap item 01-roles-and-privileges) — the new Module 10: Expert & operations.

Summary

Postgres has one concept for users and groups — roles — and two ways to control access: GRANT/REVOKE on objects and row-level security policies.

Check

One query-returns check (rls-enabled) — the learner enables RLS and adds an owner-based policy, verified via pg_class.relrowsecurity.

Verified end-to-end against a non-superuser Postgres 16. npm run lessons:validate (34/34) and next build both pass.

Part of #6

🤖 Generated with Claude Code

Part of #6

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-postgres Ready Ready Preview Jul 2, 2026 3:07pm

@exekias exekias merged commit 28326ab into main Jul 14, 2026
3 checks passed
@exekias exekias deleted the lesson/40-roles-and-privileges branch July 14, 2026 14:00
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.

1 participant