Interview practice question
Stale permissions after access is revoked
Backend Engineering · Auth and Security · Experienced
An employee's access was revoked, but they could still access data for 30 minutes because permissions were cached in their token and services. How would you improve this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Trade-off: caching speed vs revocation latency.
- Short-lived access tokens.
- Revocation events pushed to services.
- Check critical permissions live.
- Session revocation on deprovision.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.