dotFactory
Documentation / Access and integration

Organizations

Access and integration

A tenant for shared secrets, configuration, repositories and factories.

An organization groups factories and shares a secret and configuration scope. It is the widest scope a factory can resolve from, and it is what makes an "organization secret" possible without copying it into every factory.

Membership

Open /organizations to see the organizations you belong to and create one. A user may belong to several organizations, with the same roles as a factory:

role may
owner administer the organization, including its membership
admin add members by email, manage the shared secrets and configuration, manage visible repositories
member read, and use the shared values in factories they can run

Membership is by existing local account: adding someone does not create an account for them.

What it shares

  • Secrets — the organization tier of credential(key). A factory resolves factory → user → organization; see Secrets and configuration.
  • Configuration — the same tier for config(key).
  • Repositories — repositories the organization has made visible. On /github a person grants a subset of the repositories their GitHub installation covers; the organization page shows the repositories its members can see, and lets an admin add or remove them.

A factory's organization

A factory belongs to at most one organization. Its owner or admin picks one on the factory page (POST /api/factories/<id>/organization), and that is the only organization consulted for the shared tiers.

An organization does not own the factory: the factory keeps its own owner and members, and moving it between organizations changes only which shared scope it can read. That keeps access to the factory and access to the tenant separate decisions.

Organizations from GitHub

When a person grants a repository owned by a GitHub organization, the first grant creates a local Organization mirroring that GitHub account and joins the granter as its owner (or admin, if the tenant already exists). This is a convenience, not a second identity system: the local organization remains the tenant, and GitHub remains the source of repository access.

For a deployment's perspective, organization membership is authorization data. It is not a directory of people and it is not synchronized from GitHub beyond that first grant.

Your factories

Your factories will appear here. Create one and open it beside this guide.