users

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_DOMAIN = "monoskope.local"
)

Variables

View Source
var (
	// CommandHandlerUser is the system user representing the CommandHandler
	CommandHandlerUser *projections.User
	// SCIMServerUser is the system user representing the SCIM server
	SCIMServerUser *projections.User
)
View Source
var AvailableSystemUsers map[uuid.UUID]*projections.User

A maps of all existing system users.

Functions

func CreateUserContext added in v0.3.0

func CreateUserContext(ctx context.Context, user *projections.User) (context.Context, error)

func CreateUserContextGrpc added in v0.3.0

func CreateUserContextGrpc(ctx context.Context, user *projections.User) (context.Context, error)

func NewSystemUser added in v0.4.5

func NewSystemUser(name string) *projections.User

NewSystemUser creates a new system user with a reproducible name based on the name and an admin rolebinding

Types

This section is empty.

Jump to

Keyboard shortcuts

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