UserGroupModel

Model GraphQL Type

Anytime you refer to a user group in a template, you're actually being provided with a UserGroupModel object.

User Group Properties

title

The title of the user group.

slug

A slugified version of the title of the user group.

dateCreated

A UNIX timestamp of the date the user group was created.

permissions

An object of booleans that looks like this:

{
  "users": {
    "canAddUsers": true
  },
  "entries": {
    "canAddEntries": false
  }
}

For a full list of permissions, check out the main JSON file. Keep in mind that the actual object in the user group model available to templates is a reduced version that looks like the above snippet (simple key/value pairs, not arrays of objects).