User & Role based Items
Limit Open Content items to Roles or Users
Role based view permission on each item in Open Content
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"
}
}
}
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.
Updated over 8 years ago
