It is now possible to specify for ACL tokens MQTT topics using flespi comma-separated topic selectors.
Imagine, you have this topics:
If you want to limit publish/subscribe access to to field1 and field2 only, leaving field3 protected you need to specify this in ACL section of ACL token.
Before today update you need to specify each topic separately, e.g. define two mqtt sections in the token:
path/1/field1 and path/1/field2.
After today update you may use flespi special topic selector for providing correct topics and have everything in just one rule:
Same applies if you have multiple identifiers in path, e.g. 1,2,3,4,5,6. You may describe full ACL with just one rule: path/1,2,3,4,5,6/field1,field2 Previously you need to define 12 MQTT ACL rules for this construction or use topic wildcards.
This is applicable for both publish and subscribe sections of mqtt ACL rule.