We want to give our supporters access to inspect event-streams via the UI.
We created a user for this (“ajoursupport”), and added the following ‘update-default-acl’ event to the $settings-stream:
{
"$userStreamAcl": {
"$r": [
"$admin",
"$ops",
"ajoursupport"
],
"$w": [
"$admin",
"$ops"
],
"$d": [
"$admin",
"$ops"
],
"$mr": [
"$admin",
"$ops",
"ajoursupport"
],
"$mw": [
"$admin",
"$ops"
]
},
"$systemStreamAcl": {
"$r": [
"$admins",
"ajoursupport"
],
"$w": "$admins",
"$d": "$admins",
"$mr": [
"$admins",
"ajoursupport"
],
"$mw": "$admins"
}
}
Using the http-api directly without a browser, we observe that this “works”, with ajoursupport’s credentials we can GET streams but not POST new events to them. So far so good.
The problem is that ajoursupport cannot login via the UI. it’s GET /users/ajoursupport
returns 401, without any visual feedback that anything has happened. Something works though, as we CAN access streams in the UI after this request by typing {baseUrl}/web/index.html#/streams/{streamId}
into the address-bar of the browser.
This is not a feasible workaround alas, as our supporters needs to navigate via the UI.
It works like charm in v. 4.1.0.0
Issue observed in v. 5.0.9.0, 5.0.10.0 and 5.0.11.0