Interview Q&A · questions with model answers

Authorization Interview Questions

Part of the study plan for: Backend Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Why should code check permissions rather than role names?

    Checking has_permission('invoice:approve') decouples code from the role catalog; roles can be changed or added (mapping to permission sets) without editing code, and audits can reason about…

Was this page helpful?

Report a mistake