rbac

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	io.Closer

	FilterGetByRbacRoles(getResults []*devicechange.PathValue,
		groupIds []string) ([]*devicechange.PathValue, error)
}

Cache is the Role Based Access Control (RBAC) cache We can deal only with Paths and Values, and stay out of the realm of the rbac_1_0_0 object model. Validation will ensure we only get clean data in to this map

func NewRbacCache

func NewRbacCache(devicesChangeStore devicechangestore.Store,
	deviceSnapshotStore devicesnapshotstore.Store,
	rbacInternalDevice device.VersionedID) (Cache, error)

NewRbacCache - create a new Rbac Cache

Jump to

Keyboard shortcuts

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