Bus reset uses admin account
authorBill Erickson <berickxx@gmail.com>
Thu, 11 May 2023 15:14:29 +0000 (11:14 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 11 May 2023 15:14:29 +0000 (11:14 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
examples/redis-accounts.txt.in

index 04198a7..a245528 100644 (file)
@@ -27,6 +27,7 @@ ACL SETUSER gateway -@all +lpop +blpop +rpush +del ~opensrf:router:* ~opensrf:cl
 SET comment "admin can do anything"
 SET comment "avoid reseting admin since that would break the account mid-script"
 
+ACL SETUSER admin resetpass
 ACL SETUSER admin on >@ADMIN_BUS_PASS@
 ACL SETUSER admin +@all ~*