Group represents a group in the ACL system.
| 108 | |
| 109 | // Group represents a group in the ACL system. |
| 110 | type 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. |
| 118 | func (g *Group) GetUid() string { |
nothing calls this directly
no outgoing calls
no test coverage detected