multi_tenant

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UserAttributeCustomer attribute refers to the customer of the user
	UserAttributeCustomer = "customer"

	// UserAttributeGroups attribute refers to the groups value of the user
	UserAttributeGroups = "groups"
)

This is the list of user attributes used in multi-tenant model

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInfo

type UserInfo struct {
	ldap.UserInfo
	Customer   string   `json:"customer"`   // customer account that the user belongs to
	UserGroups []string `json:"userGroups"` // user-group of the user that belongs in the customer account
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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