Skip to content

Administration

The admin panel (AdminPanel view) provides instance-level management for Harmony operators.

System Overview

The dashboard shows key metrics:

  • Total users, servers, and federated instances
  • Total posts and messages
  • Instance uptime
  • System health indicators (database, federation queue, storage, memory)

User Management

Admins can manage users through AdminService:

ActionDescription
List usersPaginated user list with search
Suspend userTemporarily disable an account
Unsuspend userRestore a suspended account
Export logsDownload admin activity logs

Federation Management

Federation controls are a major part of the admin panel:

Instance Directory

  • View all known federated instances with filters: all, active, trusted, blocked
  • Search instances by domain
  • Per-instance stats: user count, post count, last activity

Instance Actions

ActionEffect
RefreshRe-fetch instance metadata and stats
TrustMark as trusted (higher delivery priority)
BlockBlock all federation with this instance
UnblockResume federation

Federation Health

  • Endpoint health monitoring with success rates
  • Dead endpoint detection
  • Key consistency checks and sweep
  • Orphan resource cleanup

These maintenance operations are available through AdminService:

typescript
adminService.runKeyGenerationSweep()
adminService.runOrphanCleanup()
adminService.refreshKeyConsistency()

Server Settings

Individual servers have their own settings managed by server owners:

SectionComponentFeatures
Basic InfoServerBasicInfoName, description, icon
RolesRoleManagementRole hierarchy with bigint permission bitmasks
PrivacyServerPrivacySettingsVisibility, join requirements
EncryptionServerEncryptionSettingsEncryption mode (disabled/optional/required)
BotsServerBotsSettingsBot access and configuration
EmojiServerEmojiManagementCustom emoji upload and management
InvitesInviteManagementInvite link creation and revocation
AdvancedServerAdvancedSettingsDanger zone (delete server, transfer ownership)

Emoji Management

EmojiImporter in the admin panel allows:

  • Bulk emoji import
  • Custom emoji packs per server
  • Emoji pack management via EmojiPackService
  • Emoji indexed in EmojiIndexedDBCache for fast lookup

Bot Administration

BotManagement provides:

  • View registered bots
  • Manage bot permissions
  • Monitor bot activity
  • Bot gateway health status

Performance Monitoring

PerformanceMonitoring component shows:

  • Real-time system performance metrics
  • Resource utilization tracking

Note: This page is protected from auto-generation. Edit the content in docs-source/guide/features/admin.md and run npm run docs:generate-guide to update.

Released under the AGPL-3.0 License.