Wildcard subscriptions with limited permissions #5416
formula349
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
You can allow |
Beta Was this translation helpful? Give feedback.
1 reply
-
If there is a natural grouping besides the org etc you can add class tokens and use those as well. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I would like to do here doesn't seem possible currently. If I'm wrong please let me know.
My use case is allowing different users with different permissions to be able to subscribe to a wildcard subject to receive all subscription updates that they have subscribe permissions to without having to subscribe to each distinct subject.
For instance, there are 100 organizations with a subject of "org.{id}" and some users might have permissions to subscribe to all of those subjects, and others only permissions to some. Right now I have to create up to 100 different subscriptions to handle all of these subjects because I can't reliably use wildcards for the organization ID.
Now another requirement would be to watch for updates on sites within each organization which would have subjects like this: "org.{id}.site.{id}". Now the number of subscriptions is exponentially greater without wildcards.
I'd like to be able to subscribe to "org." and "org..site.*" and not get a permissions error when a user has limited access to those subjects.
Is this possible now or in the future?
Beta Was this translation helpful? Give feedback.
All reactions