usermig

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllowSameLoginCrossOrgs = "update login field with orgid to allow for multiple service accounts with same name across orgs"
)
View Source
const (
	LowerCaseUserLoginAndEmail = "update login and email fields to lowercase"
)

Variables

This section is empty.

Functions

func AddLowerCaseUserLoginAndEmail

func AddLowerCaseUserLoginAndEmail(mg *migrator.Migrator)

AddLowerCaseUserLoginAndEmail adds a migration that updates the login and email fields of all users to be in lower case.

func AddServiceAccountsAllowSameLoginCrossOrgs

func AddServiceAccountsAllowSameLoginCrossOrgs(mg *migrator.Migrator)

Service accounts login were not unique per org. this migration is part of making it unique per org to be able to create service accounts that are unique per org

Types

type ServiceAccountsSameLoginCrossOrgs

type ServiceAccountsSameLoginCrossOrgs struct {
	migrator.MigrationBase
	// contains filtered or unexported fields
}

func (*ServiceAccountsSameLoginCrossOrgs) Exec

func (*ServiceAccountsSameLoginCrossOrgs) SQL

type UsersLowerCaseLoginAndEmail

type UsersLowerCaseLoginAndEmail struct {
	migrator.MigrationBase
}

func (*UsersLowerCaseLoginAndEmail) Exec

func (*UsersLowerCaseLoginAndEmail) SQL

Jump to

Keyboard shortcuts

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