admin

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MPL-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Identity administration

identity/admin.New(service) supplies the Identity-owned account forms and English/Persian catalogs to the shared Admin shell. The surface uses public Identity operations; its navigation, per-account permissions, exact decimal revision preconditions and unknown-create reconciliation retain their existing boundaries. Identity owns account and session behavior; selecting a UI language grants no permission and changes no account data.

The surface registers message references in the identity domain and its embedded catalog data through Surface.Catalogs. The shell composes those catalogs once at construction with its own and the product's installed catalogs. Templates use the request-local Request.Localizer; the browser uses the shared plain-data formatter. Translations remain ordinary escaped text. Products can supply another locale's identity messages through Config.Catalogs and select the installed locale without copying these forms or changing this package.

Follow the localization and migration guide for the data format, English fallback, explicit reload and product-owned locale policy. This package remains part of the independently versioned Identity component; its Admin dependency must belong to the reviewed compatible set. Product adoption, rebuild and deployment are separate actions.

Documentation

Overview

SPDX-License-Identifier: MPL-2.0 Package admin owns Identity's account-management presentation. It consumes only the public Identity Service/Web contracts; storage and credentials stay Identity-owned.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticator

func Authenticator(web *identity.Web) (shell.Authenticator, error)

Authenticator adapts error categories only. Identity.Web still validates the existing cookie/CSRF session and returns a principal with no permission grant.

func New

func New(service *identity.Service) (shell.Surface, error)

New registers actual Identity-owned forms. Account enumeration is not offered; operators use an opaque ID or separately authorized exact-login reconciliation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL