tintin library

A declarative authorization library.

Classes

Ability
The Ability class acts as central point of definition for the access control rules. [...]
Rule<T>
This class is used internally and should only be called through Ability. [...]
RuleList
A list of rules, only used internally.

Typedefs

Condition<T>(T obj) → bool
Type definition of a condition function.

Exceptions / Errors

AccessDenied
This exception is thrown by Ability when a user is not allowed to access a resource.