{
  alias:            "___fcf___groups_roles",
  table:            "___fcf___groups_roles",
  enable:           true,
  title:            "Group roles",
  singleTitle:      "Reference ${record.id}$",
  description:      "",
  dbSync:           true,
  inner:            true,
  connectionGroup:  "default",
  access: {
    select:         ["*"],
    update:         ["root"],
    insert:         ["root"],
    delete:         ["root"],
  },
  key:              "id",
  order:            [ { type: "field", field: "id", order: "asc" } ],
  fields:[
    {
      alias:          'id',
      field:          'id',
      type:           'bigint',
      notAdd:         true,
      notEdit:        true,
      autoIncrement:  true,
    },
    {
      alias:         'self_ref',
      field:         'self_ref',
      title:         'Self Ref',
      type:          'singleRef',
      projection:    '___fcf___groups',
      refField:      'id'
    },
    {
      alias:          'entity_ref',
      field:          'entity_ref',
      title:          'Entity Ref',
      type:           'singleRef',
      projection:     '___fcf___roles',
      refField:       'id'
    },
  ]
}
