Documentation
¶
Overview ¶
templ: version: v0.3.1001
Package account owns everything scoped to the signed-in person: their profile, their password, their API keys and their notification preferences.
These used to be scattered, API keys sat on the global settings page beside instance-wide infrastructure config, and there was no way at all to change a password. Splitting them out is what lets the settings gear become admin-only without stranding ordinary users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanGrantWrite ¶
CanGrantWrite reports whether the current user may mint write-scoped API keys. Exported so the CLI authorize page applies the identical rule.
func NewHandler ¶
func NewHandler(store repo.Store, auth *service.AuthService, files storage.FileStorage) *handler
NewHandler creates a new account handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.