Skip to content

ACL incorrectly creates ACL groups. #135

@danielmai

Description

@danielmai

Steps to reproduce:

  1. Run Dgraph cluster with ACLs enabled
  2. Login as groot
  3. Add a ACL group called "aGroup"
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/commercial/aclRelated to Access Control Listskind/bugSomething is broken.priority/p0Critical issue that requires immediate attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions