We have a test file validating groups and relations.
The test passes with CLI (fga version v0.6.4) but there is an error in the editor that says: "member is not a relation of group". VS Code extension Version 0.2.24.

Group definition
type group relations define member: [user, group#member]
The test:
- user: group:federation_council#member relation: directory_owner object: organization:starfleet
- name: Users that are visible by directory owners of the organization:starfleet realm list_objects: - user: group:federation_council#member # <-- This is where the error is showing!! type: user assertions: can_read_metadata: - user:kirk - user:spock - user:uhura
We have a test file validating groups and relations.
The test passes with CLI (fga version v
0.6.4) but there is an error in the editor that says: "member is not a relation of group". VS Code extensionVersion 0.2.24.Group definition
type group relations define member: [user, group#member]The test:
- user: group:federation_council#member relation: directory_owner object: organization:starfleet- name: Users that are visible by directory owners of the organization:starfleet realm list_objects: - user: group:federation_council#member # <-- This is where the error is showing!! type: user assertions: can_read_metadata: - user:kirk - user:spock - user:uhura