All posts
Tag

rbac

2 posts

Tutorial

Clean Code Python: Security Hardening — RBAC, API Keys, and Audit Trails

A single tenant data leak can end your SaaS business. SOC 2 and GDPR demand audit trails, scoped access controls, and data isolation verification. Here is how to build RBAC, API key management, and immutable audit logging into ShelfWise.

11 min read
Tutorial

FastAPI Auth: Authorization Patterns — RBAC, ABAC, and Beyond

Authentication answers who. Authorization answers what. Here are three authorization models — RBAC, ABAC, and ReBAC — implemented as FastAPI dependencies with decision flows, comparison tables, and production patterns.

10 min read