Been looking through the documentation for Access Control Lists. It appears one can do two things:
- Set default user stream ACL (global)
- Set per-stream ACL (through UI or .NET client)
**What about being able to define a per-category default ACL? **
Let’s say I have a domain entity called “Widget”, and I have a “Widget Service” which contains all the business logic and validation for creating and updating Widgets in my system. So I’d want all services to be able to consume events from a given Widget stream (e.g. widget-48824285), I only want to grant the widgetservice user the right to write to all streams beginning with widget- (i.e. the “widget” category).
It will be tedious to have to set the ACL rules for every individual Widget stream that the service creates, as it’s created…