I currently try to not use the “admin” user anymore to connect from my service to the EventStore but an own user.
First I tried to add read rights for that user
- first in the default ACL setting ($systemStreamAcl -> $r)
- later in the metadata of the $all stream directly ($acl -> $r).
For both I set ["$admins",“myuser”]
I got an
“AccessDeniedError: Read access denied for stream ‘$all’.”
So I tried what happens when I set the user as admin in the EventStore GUI and still get the same error.
When I change one character of the username intentionally the error message changes to
“Error: Authentication error: Not Authenticated” so it seems I really use that user.
Any idea what I am doing wrong?
What other info could I provide to get some help on that?