lakeFS
lakeFS copied to clipboard
[Bug]: Bad error message in GUI when unauthorized and trying to display README.md
What happened?
What actually happened, including error codes if applies.
Steps to Reproduce:
- Configure (on lakeFS.Cloud) your user not to be allowed to read README.md. Stanza for policy:
{ "action": [ "fs:*" ], "effect": "deny", "resource": "arn:lakefs:fs:::repository/*/README.md" } - lakectl gives correct error message:
$ lakectl fs cat lakefs://sample-repo/main/README.md insufficient permissions 401 Unauthorized - WebUI gives minified or otherwise weird error message:
Expected behavior
Pink error box saying "Insufficnet permissions" or similar.
lakeFS version
1.22.0
How lakeFS is installed
lakeFS cloud dev installation
Affected clients
webui
Relevant log output
No response