Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth happening too late #2

Open
MortenGuldager opened this issue Dec 14, 2020 · 2 comments
Open

auth happening too late #2

MortenGuldager opened this issue Dec 14, 2020 · 2 comments

Comments

@MortenGuldager
Copy link

I cant get your setup to work without granting select and usage to anonymous.

When I remove the two grants:

grant usage on schema api to web_anon;
grant select on api.todos to web_anon;

swagger loads fine, and reveals absolutely nothing about database layout and content, which is exactly what I want.

But then, when I'm entering the JWT blob it still does not show anything, even though it should now be able to read and show the schema.

If this is a bug, a feature request or simply a misunderstanding from my side I dont know.

@ashokrayal
Copy link

Hi @MortenGuldager,
I also need a similar solution where I can list tables and views but web_anon don't have access to read data from these tables.
Have you found any solution?

@ashokrayal
Copy link

@johnnylambada Can you please help here? I am stuck for 2 days now :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants