Managed ACL Configuration

Configure access control using NIP-86 management API

Owner Only: This interface is restricted to relay owners only.
{#if message}
{message}
{/if}
{#if activeTab === "pubkeys"}

Banned Pubkeys

{#if bannedPubkeys && bannedPubkeys.length > 0} {#each bannedPubkeys as item}
{item.pubkey} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No banned pubkeys configured.

{/if}

Allowed Pubkeys

{#if allowedPubkeys && allowedPubkeys.length > 0} {#each allowedPubkeys as item}
{item.pubkey} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No allowed pubkeys configured.

{/if}
{/if} {#if activeTab === "events"}

Banned Events

{#if bannedEvents && bannedEvents.length > 0} {#each bannedEvents as item}
{item.id} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No banned events configured.

{/if}

Allowed Events

{#if allowedEvents && allowedEvents.length > 0} {#each allowedEvents as item}
{item.id} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No allowed events configured.

{/if}
{/if} {#if activeTab === "ips"}

Blocked IPs

{#if blockedIPs && blockedIPs.length > 0} {#each blockedIPs as item}
{item.ip} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No blocked IPs configured.

{/if}
{/if} {#if activeTab === "kinds"}

Allowed Event Kinds

{#if allowedKinds && allowedKinds.length > 0} {#each allowedKinds as kind}
Kind {kind}
{/each} {:else}

No allowed kinds configured. All kinds are allowed by default.

{/if}
{/if} {#if activeTab === "moderation"}

Events Needing Moderation

{#if eventsNeedingModeration && eventsNeedingModeration.length > 0} {#each eventsNeedingModeration as item}
{item.id} {#if item.reason} {item.reason} {/if}
{/each} {:else}

No events need moderation at this time.

{/if}
{/if} {#if activeTab === "relay"}

Relay Configuration

{/if}