legacy

package
v0.0.0-...-35d8de9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package legacy contains older implementation of IsMember check.

To be deleted very soon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Groups

type Groups struct {
	// contains filtered or unexported fields
}

Groups is a legacy representation of the groups graph.

func BuildGroups

func BuildGroups(groups []*protocol.AuthGroup) (*Groups, error)

BuildGroups builds the legacy representation of the groups graph.

func (*Groups) IsMember

func (g *Groups) IsMember(id identity.Identity, groupName string) bool

IsMember returns true if the given identity belongs to the given group.

Jump to

Keyboard shortcuts

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