Documentation
¶
Index ¶
- Constants
- func CheckIfAdminOrApiToken(email string) bool
- func CheckIfApiToken(email string) bool
- func CheckValidationForRoleGroupCreation(name string) bool
- func ConvertEmailToLowerCase(email string) string
- func ConvertEmailsToLowerCase(emails []string) []string
- func GetUserMetadata(ctx context.Context, userId int32, isSuperAdmin bool) *bean.UserMetadata
Constants ¶
View Source
const (
ApiTokenPrefix = "API-TOKEN:"
)
Variables ¶
This section is empty.
Functions ¶
func CheckIfAdminOrApiToken ¶ added in v0.7.1
func CheckIfApiToken ¶ added in v0.7.1
func ConvertEmailToLowerCase ¶ added in v0.7.1
func ConvertEmailsToLowerCase ¶ added in v0.7.1
func GetUserMetadata ¶ added in v1.5.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.