Need to Know: Denied by Default

Part of the Determesh series. What Every resource in Determesh is denied to every user unless a rule allows them. Rules compare attributes the company set on a user. A resource can also take the decision itself, through its own access check. Whatever decided, the answer is cached per user and resource, and either side can correct the cache when something changes. Why Roles are too coarse Most chat platforms with permissions stop at roles: admin, operator, user. A company with real data needs more than that. A level 3 employee in HR may read the policy documents but not the salary sheet. A contractor may see the holiday list until the contract ends. A customer may check their own transactions after verifying their email, and nothing else. ...

October 13, 2026 · 5 min · 1003 words · Sagar Nayak

Three Scope Tiers for a Half Signed In Session

Part of the Refresh Token Design series. Signing In Is Not a Boolean Most auth code treats the session as a switch. Either somebody is in or they are not. Real sign-in has states in between, and each one needs a session that exists and reaches almost nothing. Somebody types a correct password and owes a second factor. They are not signed in, but they have to be able to call the route that lists their factors, the route that sends a code, and the route that verifies one. Those routes need to know who is answering, which means a session, which means a token. ...

July 5, 2026 · 6 min · 1222 words · Sagar Nayak