hasura-auth icon indicating copy to clipboard operation
hasura-auth copied to clipboard

Do not prevent reading of custom permission variables if one is incorrect

Open ArieJones opened this issue 2 years ago • 0 comments

I was trying to test the capabilities of the current dot notation for custom permission variables and discovered if you enter in one value that cannot be read then it just quietly fails for all of them and none are utilized.

I would think the preferred method would be to just log the failure somehow and then carry on with trying to read the other values.

So in my example I tried to add a value to try and access the a metadata column value... but this seems not allowed currently. In doing so none of the 6 other custom permission variables were returned..

image

ArieJones avatar Jun 24 '22 13:06 ArieJones