These docs are for v3.2. Click to read the latest docs for v5.0.

User & Role based Items

Role based view permission on each item

Role based view permission is only available on multi items templates

To make it works,you need only to have the fields whith specific names present in shema.json

Example of schema and options :

{
  "type": "object",
  "properties": {
		"userroles": {
      "type": "array",
      "title": "Roles"
    }
  }
}
{
  "fields": {
    "userroles": {
      "type": "role2"
  	}
  }
}
572

The items are automatically filters based on the roles of the current logedin user.

When you are in edit mode, all items are shown (items are not filtered).

Show only current user created items

This is available as a filter option in the Filter settings of multi item templates.