Documentation ¶
Overview ¶
Package scopes sets the scope of permissions granted to a role: System, Tenant or Cluster. For the scopes Tenant and Cluster, a role binding will define to which specific tenant or cluster the role should be applied for a given user.
Index ¶
Constants ¶
View Source
const ( // System scope System es.Scope = "system" // Tenant scope Tenant es.Scope = "tenant" // Cluster scope Cluster es.Scope = "cluster" )
Scopes
Variables ¶
View Source
var AvailableScopes = []es.Scope{ System, Tenant, }
A list of all existing scopes.
Functions ¶
func ValidateScope ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.