This folder contains a full Cadurso ABAC1 implementation set in the Akira
universe, with several actors (e.g., Kaneda, Tetsuo) attempting to execute actions on resources (e.g., Neo-Tokyo, Bikes).
These actions are modulated based on their attributes (e.g., psychic_level
) and the system's rules.
The conftest.py
file contains the whole system's definition. Start here.
Then, just read the tests to see the authorization system in action.
Footnotes
-
Attribute-based Access Control (ABAC) is an authorization model that defines access control based on attributes of the actors, resources, and the environment. [NIST ABAC] [Wikipedia] ↩