You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want user01 to only be able to send messages with topic like 'up/json/user01/abc', 'up/base64/user01/def', but infact, user01 can send any topic, even does not start with 'up'.
So I think Ledger.ACLOk() should return false by default, just like Ledger.AuthOK()
The text was updated successfully, but these errors were encountered:
@xyzj In my opinion, Auth ledger is just a hook plugin. You can treat it as a demo, and I think you can refer to its implementation to define a completely new auth hook yourself, allowing you to customize your own ACL rules as needed.
my acl rules :
user01:
acl:
down/+/user01/#: 1
up/+/user01/#: 2
I want user01 to only be able to send messages with topic like 'up/json/user01/abc', 'up/base64/user01/def', but infact, user01 can send any topic, even does not start with 'up'.
So I think Ledger.ACLOk() should return false by default, just like Ledger.AuthOK()
The text was updated successfully, but these errors were encountered: