Search by

archim / access

unixslayer

Access: accounts identified by their OpenID Connect issuer and subject, the party they act for, roles as sets of the modules' permissions and grants, for ArchIM's modules

dev-master 2026-12-04 20:32 UTC

This package is auto-updated.

Last update: 2026-12-04 20:33:03 UTC


README

Accounts and permissions in ArchIM: who may call a module's API, on behalf of which party, and what they may do. Sign-in stays with any OpenID Connect provider; Access keeps the accounts, the roles and the grants, and tells every module through its public events.

What it answers

  • Which account signs in with this issuer and subject, is it active, and which party does it act for?
  • Which roles does an account hold, everywhere or on one resource, and which permissions do they give?
  • Which permissions does each module define, and which roles hold them?

What it provides

  • Accounts of people and machine clients, identified by their issuer and subject, registered by an administrator, by invitation through the issuer's provider directory or on first sign-in at a trusted issuer (awaiting activation unless the issuer activates its accounts at once); activated, suspended and linked to a party Access knows from Party's public events. Event sourced.
  • Roles as named sets of permissions, the shipped administrator, editor and viewer among them, and grants of a role everywhere or on one resource.
  • The modules' permission catalogues, received over the Distributed Bus at every deploy: a permission new to a module joins its default roles, a permission no longer in a catalogue leaves every role.
  • The provider directory as a port (invite, disable, enable, credentials reset) with an in-memory adapter; Keycloak's adapter is archim/access-keycloak.
  • Read models of accounts, grants, roles and catalogues, and public events of accounts, grants and roles.

Documentation

License

Apache License 2.0: see the LICENSE file.