MiningOS Logo
Use MiningOS

Requests & Approvals

MiningOS implements a role-based authorization system to ensure safe operation of critical mining infrastructure. This page explains how actions are submitted, approved, and executed.

For user role definitions and permissions, see User Management. For system architecture and how actions are processed through the orchestrator, see Architecture Guide.

Authorization Levels

MiningOS uses two authorization levels depending on the risk and impact of each action:

AuthorizationActionsApprovers
SingleMost device operations (power on/off, set mode)Any user with Action permissions
DoubleReboot MiningOSAdmins or Site Managers

Double authorization protects against accidental system-wide disruptions. The Reboot MiningOS action restarts all device communication workers. See Settings for reboot procedure details. For details on worker architecture, see Architecture — Workers.

Submitting Actions

When Users with Action permissions order an action, the action is listed in the Actions Chart in the Header as Pending Submission (gray icon). Users can add multiple actions to the Pending Submission menu before submitting them as a batch.

Pending Requests Sidebar

Requests List

Action Details Sidebar

Clicking on a Pending Request opens a sidebar with details, including (when applicable) the variation of energy consumption that the action will trigger. Power consumption changes are reflected in the Header metrics after execution.

Some actions represent a batch of operations, which can be collapsed in the sidebar. Users can then Discard or Submit them. Discarding an action prompts a confirmation to cancel the request.

Normal sidebarCollapsed sidebarSubmitted actionAuthorized action
Normal SidebarCollapsed SidebarSubmitted ActionAuthorized Action

Double Authorization Workflow

For double authorization actions (such as Reboot MiningOS):

  1. Submit: User submits the action request
  2. Pending: Action appears in the red icon menu in the Header
  3. Review: Authorized user (Admin or Site Manager) reviews the request
  4. Approve/Reject: Authorized user approves or cancels the action
  5. Execute: Upon approval, the system executes the action

When submitted, the action can be canceled before it is approved by an authorized user. When the action is authorized, the chart shows details of the confirmation.

Once submitted, users with Authorization permissions (Admins and Site Managers) see a dropdown in their Header with all actions pending approval. Clicking on one opens a sidebar showing the details.

Multiple-Request Overriding

When a user (or another user) submits an action that conflicts with an already-pending action, the latter request overrides the former.

Example:

RequestOriginal ScopeAfter Override
1st RequestTurn on miners A, B, C, DTurn on miners A, B, C
2nd RequestTurn on miners D, E, FTurn on miners D, E, F

Miner D has a multiple request. The latter request (2nd) takes precedence, so miner D is removed from Request 1 and included only in Request 2.

This behavior prevents conflicting commands from being executed on the same device.

Actions That Generate Requests

The following operations throughout MiningOS generate action requests:

ModuleOperationsDocumentation
ExplorerPower on/off, Set power mode, Setup poolsExplorer
Container PDUSocket enable/disable, Batch power operationsBitdeer Container
O&MRegister miner, Change position, MaintenanceAdding & Updating Miners
SettingsReboot MiningOS (double auth)Settings
Pool ManagerSetup pools for minersPool Manager

On this page