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.

# Variables

CmdAcl is the sub-command used to manage the ACL system.
Modify is used when altering the schema or dropping data.
Read is used when doing a query.
Write is used when mutating data.

# Structs

Acl represents the permissions in the ACL system.
Group represents a group in the ACL system.
Operation represents a Dgraph data operation (e.g write or read).
User represents a user in the ACL system.

# Interfaces

AclEntity is an interface that must be met by all the types of entities (i.e users, groups) in the ACL system.