NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
Test whether each route enforces the scope or role it declares, using one prepared write, a refusal beside it, and the client log to confirm the effect.
At 10:05:31 on Tuesday a request carrying a key that may only read invoices asked Ledgerline to email one. The server answered 202. Ninety seconds later the same key asked it to approve a different invoice and got 403 insufficient_scope. One credential produced two opposite answers from two write routes that sit next to each other in the route sheet.
That pair is the subject here. A scope on a key limits nothing by being stored in a database. It limits something when the route that receives the request reads it and refuses. Each route has to do that for itself, or inherit it from a shared layer that covers the route, and your job is to find out which routes do.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in