helper

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfUserDevtronManagedOnly

func CheckIfUserDevtronManagedOnly(userIds []int32) bool

func CheckIfUserIdsExists

func CheckIfUserIdsExists(userIds []int32) error

func CheckValidationForAdminAndSystemUserId

func CheckValidationForAdminAndSystemUserId(userIds []int32) error

func CreateErrorMessageForUserRoleGroups added in v0.7.0

func CreateErrorMessageForUserRoleGroups(restrictedGroups []bean2.RestrictedGroup) (string, string)

func ExtractTokenNameFromEmail added in v0.7.0

func ExtractTokenNameFromEmail(email string) string

func IsSystemOrAdminUser

func IsSystemOrAdminUser(userId int32) bool

func IsSystemOrAdminUserByEmail

func IsSystemOrAdminUserByEmail(email string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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