MCPcopy
hub / github.com/dgraph-io/dgraph / Group

Struct Group

acl/utils.go:110–115  ·  view source on GitHub ↗

Group represents a group in the ACL system.

Source from the content-addressed store, hash-verified

108
109// Group represents a group in the ACL system.
110type Group struct {
111 Uid string `json:"uid"`
112 GroupID string `json:"dgraph.xid"`
113 Users []User `json:"~dgraph.user.group"`
114 Rules []Acl `json:"dgraph.acl.rule"`
115}
116
117// GetUid returns the UID of the group.
118func (g *Group) GetUid() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected