-
Greetings,
It seems I'm blocked here because I can't get the item for testing it against my roles and permissions. Can you please point me in the right direction ? Thank you ! EDIT : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Why can't you use |
Beta Was this translation helpful? Give feedback.
You should be able to use
access.filter.query
to filter the "forum" list being called. So instead of checking a value on the item and returningtrue
orfalse
you canfilter
for that value. As an example in my project I am filtering theenrolments
a user can read based on a session id - https://github.com/borisno2/on-the-hill-drama-club/blob/main/src/keystone/helpers.ts#L49 - I have handled fairly complex access requirements withfilter
I would be interested in seeing an example whe…