Hi.
We are going to have a datasource with some sensitive data, where there is a requirement, that only the owner of a specific event is allowed to see it.
The events will have the user as part of the data, that field can be created as an indexed field.
I will, of course, have the data in a separate index, and thought I might be able to use restriction to limit access so that the user only can search in data where the field user matches the logged on user.
I can see it is possible to use the token $env.user$ in a dashboard, but I would really like to use it in the restrictions part of the role, so it automatically will use the logged on user in the restriction.
Any help will be much appreciated.
Kind regards
las
... View more