How to update ACL for a protected stream?


I am trying to set the access for a protected stream so that a user (in this case “test”) can only read and not write to the stream. However, after running the command to update the ACL of the stream, the test user is still able to write to the stream. For this situation, the protected stream is $ce-Technology.

Screen Shot 2019-01-22 at 12.10.19 AM.png

Here is the ACL json I am passing (settings.js):


“$acl” : {

“$r” : ["$admins","$ops",“test”],

“$w” : ["$admins","$ops"],

“$d” : ["$admins","$ops"],

“$mr” : ["$admins","$ops"],

“$mw” : ["$admins","$ops"]




Here is the curl command I am using to update the stream metadata:

curl -i --data-binary @settings.js “http:///streams/$ce-Technology/metadata” -H “Content-Type:application/json” -H “ES-EventId: 4276cfee-0073-4fc5-836c-dac9b7be69a4” -u “admin:changeit”


Anyone have any ideas of what I might be doing wrong? I’ve tried running the command for the stream name with & without the “$” and neither route worked. Any help is appreciated.

Thanks in advance!