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

Accessing _users table with auth off #178

Open
IanMayo opened this issue Apr 10, 2024 · 0 comments
Open

Accessing _users table with auth off #178

IanMayo opened this issue Apr 10, 2024 · 0 comments

Comments

@IanMayo
Copy link
Collaborator

IanMayo commented Apr 10, 2024

Describe the bug
Note: this may actually be intended behaviour.

I tried to access the _users table (via /api/tables/_users/rows) in an instance of soul-cli with auth disabled. I got this error:

{"message":"You can not access this endpoint while AUTH is set to false"}

If the admin has decided to run soul-cli with auth disabled, shouldn't it be possible to see all data?

To Reproduce
Steps to reproduce the behavior:

  1. Visit this end-point in a soul instance with a database that has been initialised for auth: /api/tables/_users/rows

Expected behavior
View the contents of the _users table.

Screenshots
If applicable, add screenshots to help explain your problem.

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

1 participant