Skip to content

References/Relations to user groups #40

@Idered

Description

@Idered

Currently users class can be referenced but user groups can't. It would be cool to use them like the rest of classes

class:
  member:
    - name:  groups
       type: relation
       target: user_groups
data.member.with('groups').list()
[
  {
    "id": 1,
    "groups": [
       {
         "id": 1,
         "name": "admin",
         "label": "Admin",
         "description": "",
       }
     ] 
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions