package
23.1.1+incompatible
Repository: https://github.com/dgraph-io/dgraph.git
Documentation: pkg.go.dev
# Functions
CreateGroupNQuads cretes NQuads needed to store a group with the give ID.
CreateUserNQuads creates the NQuads needed to store a user with the given ID and password in the ACL system.
GetGroupIDs returns a slice containing the group ids of all the given groups.
UnmarshalGroup extracts the first Group pointed by the groupKey in the query response.
UnmarshalGroups extracts a sequence of groups from the input.
UnmarshalUser extracts the first User pointed by the userKey in the query response.
# Interfaces
AclEntity is an interface that must be met by all the types of entities (i.e users, groups) in the ACL system.