THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class Authorizable: (source)
Let any Orionis model own permissions and roles.
Authorization rows are polymorphic: they store the type of the owner next to its identifier, so users, teams or API clients can all be granted the very same permissions.
The mixin is a plain class registered as a virtual implementation of
IAuthorizable, because inheriting from the ABC directly would
clash with ModelMeta, the metaclass of every Orionis model.
| Method | get |
Return the identifier stored in the authorization tables. |
| Method | get |
Return the polymorphic type stored with the identifier. |
| Constant | AUTHORIZABLE |
Undocumented |
| Class Variable | __slots__ |
Undocumented |