You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good afternoon. I'm using keystone in a work project and I've come across the following need: I want to prevent a part of users from filtering a particular field. For example, I want to prohibit a query of the form:
My question is why are the arguments not passed to the access function? Is this a conscious decision or an oversight? And if there is no contradiction, can I help with the implementation?
The text was updated successfully, but these errors were encountered:
Good afternoon. I'm using keystone in a work project and I've come across the following need: I want to prevent a part of users from filtering a particular field. For example, I want to prohibit a query of the form:
The most logical way, in my opinion, is to modify the access function like this:
The problem is that now ListCRUDProvider Keystone does not pass query arguments to access functions, unlike CustomProvider:
keystone-5/packages/keystone/lib/ListTypes/list.js
Line 486 in ee00f7f
My question is why are the arguments not passed to the access function? Is this a conscious decision or an oversight? And if there is no contradiction, can I help with the implementation?
The text was updated successfully, but these errors were encountered: