Try the demo

Blog

Choosing a level for each action

L0 to L3 are not a ladder to climb. A practical way to set the identity level and class of every route, with the mistakes to avoid.

Every route an agent can call needs two answers: how bad would a mistake be, and how sure must you be about the person? AllowedBy keeps them apart as class and level.

Class: how bad is a mistake?

ClassMeaningWho may start the approval
readNo visible changeAgent or service
writeReversibleAgent or service
write-hardHard to undo, or seen by othersThe service only
irreversiblePayments, contracts, deletionsThe service only

The last column matters. For the serious classes an agent cannot collect a yes in advance and use it later.

Level: how sure about the person?

  • L0: a known agent is enough. Public catalogues, quotes, prices.
  • L1: a person tapped a passkey. You know it is the same person as last time, not their legal name.
  • L2: their identity was verified at eIDAS substantial. Use it when you must be able to name someone.
  • L3: eIDAS high and a hardware passkey. Use it when a stolen cloud account must not be enough.

A route can ask for a qualified electronic signature on top, where law requires one.

Three mistakes

Setting everything to L2 to be safe. The first identity check is the longest step a person meets. Ask for it at the first action that needs a name.

Using level to mean risk. Deleting a person's own draft may be irreversible and still need only L1. You need certainty that they want it, not their passport.

One amount, one class. A refund of 5 EUR and one of 5 000 EUR are different actions. A route can change class by amount threshold.

A starting point

ActionClassLevel
Search productsread0
See my ordersread1
Add to basketwrite1
Change planwrite-hard1
Approve an invoicewrite-hard2
Release a paymentirreversible3

Those are the demo's own settings. Each service's operator can change a level in its console, and the next request follows it.

Next postWhy consent needs a network