The module MUST hold the definition of an authorization model with its version and status, and relation tuples of an object, a relation and a subject (a kind of principal or of object, with the relation of the subject where a set is meant), a caveat and its values, an expiry and a time, unique by a key made of all of them.
Enforced (check): .github: cd commons/data && bun run verify — suite/identity.test.ts: on three engines any kind of principal holds roles once, roles inherit and are separated, attributes of any principal and resource are one value each, policies and relation tuples and the permissions they grant are unique
Proved by: data/suite/identity.test.ts
Written in: data/models/identity-rebac/mod.ts
Tests: passed: suite/identity.test.ts on three engines any kind of principal holds roles once, roles inherit and are separated,