Documentation
¶
Overview ¶
Package viewer contains role definitions for policies
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ViewerContextKey = &ContextKey{"ViewerContextKey"}
ViewerContextKey is the context key for the viewer-context
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey struct {
// contains filtered or unexported fields
}
ContextKey is the key name for the additional context
type UserViewer ¶
type UserViewer struct {
OrgID string
}
UserViewer describes a user-viewer.
func (UserViewer) OrganizationID ¶ added in v0.2.0
func (u UserViewer) OrganizationID() string
OrganizationID returns the ID of the organization.
Click to show internal directories.
Click to hide internal directories.