lamp.
ResourcesPricingAbout

Attribute based access control

Attribute based access control is a method of granting or refusing access by comparing attributes of the user, the data and the situation with written rules, rather than by role alone.

What it means

Roles are blunt: everyone called "manager" gets the same rights. Attributes allow a more precise rule. For example, a person may approve a purchase order only if the amount is below a limit, the order is for their department and its status is still open.

Example

A hospital pharmacy defines a rule: a pharmacist may view patient prescriptions only for the ward they are posted to and only during their shift. When a pharmacist is moved from the surgical ward to the paediatric ward, access changes as soon as the posting attribute is updated.

Records and checks

  • Record the policy in plain words, with the attributes used and a named owner for each.
  • Verify that the source of each attribute, such as HR for department, is accurate and updated promptly.
  • The system owner tests the rules, and the business head reviews them when structures change.

Common mistakes

  • Trusting attribute data that is outdated, so people keep access after a move.
  • Writing rules that are so complex that no one can predict their effect.
Did not find your answer?Message the lamp team on WhatsApp. Ask about setup, your records, or anything we have not covered here.Ask us on WhatsApp →