struct

KemalIdentity::Authz::Membership

Inherits Struct < Value < Object

An account belongs to a tenant.

Separate from role assignment, and the separation is deliberate. Membership answers "may this person be inside this tenant at all", roles answer "and what may they do there". A person can be a member with no roles — freshly invited, or with everything revoked while an investigation runs — and that is a state the model has to be able to express, because the alternative is deleting them and losing the audit trail of when they joined.

Constructors

new(id : String, account_id : String, tenant_id : String, created_at : Time)
Source

Instance methods

account_id
Source
created_at
Source
tenant_id
Source