Moved from GitHub ratel/135
Posted by danielmai:
Steps to reproduce:
- Run Dgraph cluster with ACLs enabled
- Login as groot
- Add a ACL group called “aGroup”
- Query for the group with the CLI tool:
$ dgraph acl info -g aGroup
[Decoder]: Using assembly version of decoder
Running transaction with dgraph endpoint: localhost:9180
Current password for groot:
Login successful.
Unable to show info: The group "aGroup" does not exist.
Although Ratel says there’s a group, it’s not detected via the CLI tool.
@manishrjain and I dug into this a bit and we noticed that the group created via Ratel does not have dgraph.type set to Group for the aGroup node. So it does not exist according to the CLI.