Administration
The Admin Console is where Moonin defines tenancy, access and shared operational resources before the main app consumes them.
This page documents the behavior behind:
https://app-admin.moonin.app/admin/organizationshttps://app-admin.moonin.app/admin/organizations/<organization-id>/usershttps://app-admin.moonin.app/admin/organizations/<organization-id>/groupshttps://app-admin.moonin.app/admin/projectshttps://app-admin.moonin.app/admin/clusters
Administrative hierarchy
Section titled “Administrative hierarchy”flowchart TD O[Organization] U[Users] G[Groups] P[Projects] C[Clusters] NC[Notification channels]
O --> U O --> G O --> P O --> NC P --> COrganizations
Section titled “Organizations”An organization is the tenant boundary for:
- ownership
- memberships
- direct and group roles
- projects
- clusters
- notification channels
- billing association
- Azure AD configuration
Organization fields
Section titled “Organization fields”The Admin Console supports organization-level fields such as:
- name
- slug
- owner email
- admin emails
- primary domain
- additional domains
- Azure AD enabled state
- Azure tenant ID
- Azure client ID
- Azure client secret
- Azure authority host
Billing relationship
Section titled “Billing relationship”Organizations are linked to billing subscriptions before project and cluster growth can proceed safely. In practice:
- a subscription must be assigned to the organization
- project creation and cluster onboarding depend on that administrative foundation
Projects
Section titled “Projects”Projects belong to a single organization and are the grouping layer above clusters.
Projects are typically used to represent:
- a team
- an environment
- a business domain
- an operational boundary
Each project has at least:
- project name
- owner
- organization association
Clusters are then attached below the project.
Clusters in Admin
Section titled “Clusters in Admin”The Admin cluster page controls cluster registration and lifecycle. It is responsible for:
- creating the cluster record
- binding the cluster to a project
- generating bootstrap credentials
- rotating the cluster token
- deleting the cluster record
Cluster onboarding flow
Section titled “Cluster onboarding flow”flowchart LR A[Choose organization] B[Choose project] C[Create cluster record] D[Copy cluster_id, project_id and token] E[Install agent] F[Validate inventory in app]
A --> B --> C --> D --> E --> FCluster token rotation
Section titled “Cluster token rotation”Only elevated organization access should perform token rotation because:
- the previous token becomes invalid
- every running agent must be updated
- a mistaken rotation can interrupt discovery for the cluster
The organization users page shows the full access composition of a person:
- baseline organization membership
- owner state when applicable
- direct roles
- inherited roles from groups
- group memberships
Membership roles
Section titled “Membership roles”Moonin supports the following organization membership roles:
viewereditoradmin
These are baseline relationships, not the entire authorization model.
What membership means operationally
Section titled “What membership means operationally”vieweris the minimum membership roleviewerfollows least-privilege by defaultviewercan list organizations by defaultvieweronly gains additional access when an admin assigns direct or group-based permissionseditorcan manage editable organization resourcesadmincan manage organization-wide resourcesorganization.owneris separate and has full control
Groups
Section titled “Groups”Groups are the scalable way to grant shared access to teams.
A group can have:
- a name
- a description
- members
- assigned roles
Any role assigned to the group is inherited by every member of that group.
Use groups when:
- several people need the same access
- you want access to follow team membership
- you want fewer direct user exceptions
Permission types
Section titled “Permission types”Moonin combines several permission sources:
- ownership
- organization membership
- direct user roles
- group-inherited roles
Direct and group roles can represent feature-specific permissions such as:
- revision and manifest viewing
- error and RCA access
- alert policy management
- event notification policy management
- cluster and project administration
In other words, a user may have baseline viewer membership and still gain additional capabilities only through direct or inherited roles granted by an administrator.
Notification channels
Section titled “Notification channels”Notification channels are organization-owned resources created in Admin and consumed in the main app.
Current channel types:
- Slack
- Microsoft Teams
- VictorOps
Channels are where teams define the actual webhook destination. Policies later decide when those channels are used.
Recommended administrative operating order
Section titled “Recommended administrative operating order”- Create the organization.
- Assign billing.
- Set the owner, admins, domains and slug.
- Configure Azure AD if required.
- Add users and groups.
- Create projects.
- Register clusters.
- Create notification channels.
- Move into policy and runtime operations from the main app.