Skip to content
Discussion options

You must be logged in to vote

You can accomplish what you need via ALLOW permissions, which is harder then we want since you have to explicitly state every subject you want to send or receive from.

So in a simple case, let's say we have an EVENT stream with "event.>" as the subject. Giving this subject as an explicit ALLOW will allow a user to place things in the stream.

For responses, acks, consumers etc. We will want to use the INBOX prefix setting in the client and list that as explicitly a subject we can subscribe to, e.g. "_INBOX.derek.>". Check the docs or your favorite LLM on setting the INBOX prefix in your desired language. This link can also help: https://natsbyexample.com/examples/auth/private-inbox/cli

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by derekcollison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants