Skip to content

User Management & RBAC

m1nd supports multi-user access with role-based access control (RBAC).

User Types

Config Admin

The initial admin account defined in config.yaml. This account always exists and is separate from database-backed users.

Database Users

Created and managed from Settings > Users. These are the standard user accounts with role-based permissions.

Roles

RoleAccess Level
adminFull access — all features, settings, user management
operatorUse all features + view credentials in plaintext
operator_maskedUse all features, credentials are masked
operator_nocredsUse all features, no credential access at all
viewerRead-only access to dashboards and data

Security Features

Account Lockout

5 failed login attempts triggers a 15-minute lockout. This prevents brute-force attacks on user accounts.

Password Recovery

Email-based temporary password recovery via SMTP. Requires SMTP to be configured in Settings.

Session Tracking

Last login timestamp is recorded for every user.

Audit Logging

All security-relevant actions are logged with username and timestamp:

  • Login attempts (success and failure)
  • Credential access events
  • Scan operations
  • User management changes

TOTP 2FA

Optional two-factor authentication using TOTP (Time-based One-Time Password). Enable per user in Settings > Security.

API Keys

Scoped API keys provide programmatic access with granular permissions.

Available Scopes

ScopeAccess
monitors:readRead monitor data
monitors:writeCreate/update/delete monitors
alerts:readRead alert history
alerts:writeManage alert settings
webhooks:readRead webhook configs
webhooks:writeManage webhooks
brain:readRead Bra1n assets
brain:writeManage Bra1n assets
v1sion:readRead V1sion sessions
v1sion:writeManage V1sion sessions
ssh:executeExecute SSH commands

Manage API keys in Settings > API Keys.

Web Identity

Configure a display name shown in the topbar. Users see their own name, providing a personalised experience in multi-user deployments.

Released under the MIT License.