Documentation
¶
Overview ¶
Package users handles user-related custom functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserManager ¶
type UserManager struct {
// contains filtered or unexported fields
}
func NewUserManager ¶
func NewUserManager(app core.App) *UserManager
func (*UserManager) CreateFirstUser ¶
func (um *UserManager) CreateFirstUser(e *core.RequestEvent) error
Custom API endpoint to create the first user. Mimics previous default behavior in PocketBase < 0.23.0 allowing user to be created through the Beszel UI.
func (*UserManager) InitializeUserRole ¶
func (um *UserManager) InitializeUserRole(e *core.RecordEvent) error
Initialize user role if not set
func (*UserManager) InitializeUserSettings ¶
func (um *UserManager) InitializeUserSettings(e *core.RecordEvent) error
Initialize user settings with defaults if not set
Click to show internal directories.
Click to hide internal directories.