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.

          Source Files