scopes

package
v0.3.2-dev2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

func ValidateScope(scope string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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