Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

docs(identity): preserve caller privileges through database objects

Rudy Celeklie9a1926f350c
diff --git a/engineering/engineering-identity-access-engineer.md b/engineering/engineering-identity-access-engineer.md
index 7900d973..30fd0e35 100644
--- a/engineering/engineering-identity-access-engineer.md
+++ b/engineering/engineering-identity-access-engineer.md
@@ -150,6 +150,9 @@ COMMIT;
-- previous tenant into the next request. Missing context denies access.
-- FORCE also subjects the table owner to RLS; privileged maintenance roles
-- still bypass it and must never be used by request-serving connections.
+-- Objects called by requests must also use the caller's restricted privileges:
+-- avoid privileged SECURITY DEFINER functions and bypass-capable view owners;
+-- use security_invoker views where supported.
```
## 🔄 Your Workflow Process