From b9726eb16082fb11d7e87b816d7c411fce968e66 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 11 May 2023 11:14:29 -0400 Subject: [PATCH] Bus reset uses admin account Signed-off-by: Bill Erickson --- examples/redis-accounts.txt.in | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/redis-accounts.txt.in b/examples/redis-accounts.txt.in index 04198a7..a245528 100644 --- a/examples/redis-accounts.txt.in +++ b/examples/redis-accounts.txt.in @@ -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 ~* -- 2.11.0