How authorization works
For an authenticated request, MoleSignal resolves:- the subject: user, service account, or API token;
- the active organization or protected platform scope;
- role assignments and explicit IAM bindings;
- resource relationships and approved cross-organization grants;
- required license features;
- the permission required by the route and target resource.
GET /api/v1/iam/capabilities returns the effective snapshot used by the web
application.
Permission scopes
Organization permissions cover one workspace. Examples include:org.settings.readandorg.settings.manage;org.members.readandorg.members.manage;iam.roles.read,iam.roles.manage,iam.policies.read, andiam.policies.manage;- granular stream, dashboard, alert, schedule, saved-view, pipeline, function, report, audit, and Agent permissions.
sys. and apply only in the _sys scope. Platform permissions control global
organizations, license versions, system telemetry, trace debugging, platform administrators, and
platform settings.
Roles and permission bundles
Built-in organization roles are Owner, Admin, Editor, and Viewer. Platform Administrator is a separate platform role. Built-in roles are maintained by the permission catalog and cannot be edited. Create custom roles when a person needs a narrower responsibility. The UI offers bundles such as read-only observer, data analyst, pipeline developer, alert administrator, and organization administrator as starting points. Review the final permission list before saving.
A role that is still referenced by a membership, token, invitation, or binding cannot be deleted.
Users, approvals, and invitations
Open IAM → Users to inspect organization members. If self-service signup requires approval, use IAM → Approvals to approve or reject pending accounts. Use IAM → Invitations to invite an email address with an initial role. Resend or revoke a pending invitation. Email-domain policy applies to invitations and self-service or SSO provisioning. Common membership permissions are:org.members.readfor listing members;org.members.managefor creating, approving, disabling, changing, or removing members.
Groups and teams
Groups organize identities for policy assignment. Teams organize people for product workflows such as alert schedules and escalation targets. Every direct team member must belong to the same organization. Use role bindings and relationship policy when access should follow a group, team, resource, or specific subject instead of changing a broad built-in role.Service accounts and API tokens
Use IAM → Service accounts for agents, CI, collectors, and integrations. Assign only the role or permissions needed for that workload. API tokens use this form:api_tokens.read lists token metadata and api_tokens.manage creates or revokes tokens.
Cross-workspace access
An explicit grant can relate a subject in one organization to a resource in another. The server checks that relationship and the resource permission together; a grant never turns the target organization into the subject’s active workspace. For dashboards and reports, use the dedicated resource sharing model. Public shares receive a constrained share session, not organization membership.Single sign-on
Open IAM → SSO to configure OIDC or SAML 2.0 providers. Provider configuration is stored in the database and takes effect without a process restart. Configure discovery or protocol endpoints, client credentials or IdP certificate material, a default role, and optional IdP-group mappings. New identities can be provisioned into the provider’s organization after email-domain and signup policy checks. SSO requires thesso license feature. Provider management also requires organization settings
permissions.
Platform administration
The_sys scope is isolated from organization IAM. Tenant JWTs and ms_* tokens cannot enumerate
system telemetry, license history, or platform administrators. Use a system-scoped session with
the required sys.* permission.
Administration overview
Understand personal, organization, and platform administration.
Security
Review tenant isolation, secrets, audit, sharing, and field encryption.