Can user.role be included in the content and asset event for use within rule expressions, please?
It’s available in Schema scripts and would be useful in Rules too.
Taken from the documentation, this is an abbreviated example of how it would look:
{
...
"pixelWidth": 800,
"timestamp": "2018-01-01T12:00:00Z",
"type": "Created", // The type of the event.
"user": { // User information
"id": "123...",
"name": "John Doe",
"email": "john@email.com",
**"role": ["Creator"],** //An array like in Schema scripts
},
"version": 1 // Version of the asset, increased with any operation
}
https://docs.squidex.io/02-documentation/concepts/rules
Thanks
Michael