Skip to content

Accessing _users table with auth offΒ #178

@IanMayo

Description

@IanMayo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions