Re: Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
I guess just mentioning path=“/select” is sufficient… The documentation does not explain this .. > On Mar 5, 2019, at 7:36 PM, Aroop Ganguly wrote: > > Turns out I had to specify the path param to /select, while setting the > permission. > > But this is random..I created a new permission and

Re: Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
Turns out I had to specify the path param to /select, while setting the permission. But this is random..I created a new permission and assigned it to the same user, and now the user with this role is able to get data. "set-permission": {"name": "read-collections", "role":"readonly","path":"/se

Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
Hi Team I am playing around with rule based auth and I wanted to create a role which is readonly. I gave the “read” permission to the role, but I am not able to get data from the /select handler. A simple select request results in this response: Error 403 Unauthorized request, Response code: