Skip to content

Empty subject list in ACL is not handled well in UI #1268

@Krock21

Description

@Krock21
  1. Create a cypress node with ACL that has empty subject list(you can do it with CLI). For example:
    {
      "action": "allow",
      "subjects": [],
      "permissions": [
        "write"
      ],
      "inheritance_mode": "object_and_descendants"
    }
    
  2. Try opening it in UI
  3. See an error Unexpected behavior: item.subjects.length !== 1: ...
Image

Same applies to Principal ACL

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions