Administration
Once your flakiness.io instance is up and running, you’ll need at least one person who can manage it at the deployment level. That’s what SuperAdmins are for.
SuperAdmins
Section titled “SuperAdmins”SuperAdmins have full control over the entire flakiness.io deployment. They can create, modify, and delete organizations, assign Organization Admins, and access deployment health statistics and the backoffice.
On flakiness.io cloud, these roles are held by Degu Labs employees. On a self-hosted instance, you decide who your SuperAdmins are.
SuperAdmins are configured via the SUPERUSERS environment variable — a comma-separated list of GitHub user IDs. To look up a GitHub ID:
docker run --rm -it cr.flakiness.io/app ./server/lib/cli.js get-github-id USERNAMEThen add the IDs to your flakiness.env:
SUPERUSERS="123456,789012"Controlling Organization Creation
Section titled “Controlling Organization Creation”By default, any logged-in user can create an organization. For most self-hosted deployments, you’ll want to restrict this so that only SuperAdmins can create organizations. Set the following in your environment:
DISABLE_ORG_CREATION=1With this enabled, SuperAdmins create organizations and assign their initial Admins, who then manage membership and projects from there.