Documentation
¶
Overview ¶
Package instanceadminsvc changes the global pre-tenant instance administrator role.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserUnverified = xerror.InvalidInput(xerror.User).Detail("user email must be verified before granting instance administrator access") ErrLastAdmin = xerror.InvalidInput(xerror.User).Detail("cannot revoke the last instance administrator") )
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
Bootstrapper is local operator provisioning, never an HTTP registration path.
func NewBootstrapper ¶
func NewBootstrapper(txm postgres.TransactionManager, admins instanceadmins.Repository, userRepo users.Repository, hasher crypto.Hasher) (*Bootstrapper, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(txm postgres.TransactionManager, repo instanceadmins.Repository) (*Service, error)
Click to show internal directories.
Click to hide internal directories.