org

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheInit

func CacheInit(org org.ClientInterface)

func GetOrgByOrgID

func GetOrgByOrgID(orgID string) (*orgpb.Org, bool)

GetOrgByOrgID gets the *orgpb.Org by orgID from the newest cache

func GetOrgByProjectID

func GetOrgByProjectID(projectID string) (*orgpb.Org, bool)

GetOrgByProjectID gets the *orgpb.Org by projectID from the newest cache

func UserCanAccessTheApp

func UserCanAccessTheApp(userID, appID string) bool

UserCanAccessTheApp returns whether the user can access the application

func UserCanAccessTheProject

func UserCanAccessTheProject(userID, projectID string) bool

UserCanAccessTheProject returns whether the user can access the project

Types

This section is empty.

Jump to

Keyboard shortcuts

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