module-orgs

Organizations, memberships, roles and email invitations: a person creates an organization and invites people by address.

With cargo

cargo add cratefield-module-orgs

What it is

module-orgs.

Organizations, memberships, roles and email invitations for a Cratefield venture. A person creates an organization and is its owner, invites people by address, and everyone who belongs holds a role the venture configured. Mounted at /v1/orgs: one migration, three tables. Every route but the admin listing acts for the account the venture’s Auth port identifies, so membership is never something a client asserts.

From the crate’s own README.

Ports

Database · Clock

History

Changelog.

From the crate’s CHANGELOG.md in the harness, as of 0c5560b. 4 versions recorded, newest first. Every published version is on crates.io.

  1. 0.1.3

    crates.ioReleaseDiff

    Other

    • updated the following local packages: cratefield-core, cratefield-mail-templates
  2. 0.1.2

    crates.ioReleaseDiff

    Added

    • module-orgs service accounts, access grants and an audit log (#878) (#879)
2 earlier versions 0.1.0 to 0.1.1
  1. 0.1.1

    crates.ioReleaseDiff

    Other

    • document the deferred confirmation mail, and correct every doc that still promises the join-time 503 (#806)
  2. 0.1.0

    crates.ioRelease

    Added

    • mail-templates branded mail in each venture's own style for every module that sends mail (#715) (#716)

    Other

    • organizations, memberships, roles and invitations, with a membership check for modules, ventures and external apps (#698)

One of 76 crates in the harness, all of them MIT and all of them in one repository.