Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ProviderAdminRole is the role that gives Provider Admin access to an org ProviderAdminRole = roles.ProviderAdminRole // ProviderViewerRole is the role that gives Provider Viewer access to an org ProviderViewerRole = roles.ProviderViewerRole // TenantAdminRole is the role that gives Tenant Admin access to an org TenantAdminRole = roles.TenantAdminRole )
Role-name constants are sourced from common/pkg/roles so they can be referenced from packages that cannot import auth/pkg/authorization (e.g. db model tests, which would create an import cycle, and the workflow production image, which does not ship the auth module).
Variables ¶
This section is empty.
Functions ¶
func ValidateOrgMembership ¶
ValidateOrgMembership validates if a given user is member of an org
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.