Skip to content

Control allowance of root multi-lvl wildcard subscription creation#285

Merged
dmytro-landiak merged 1 commit into
mainfrom
feature/forbid-subscribe-to-all
Jan 26, 2026
Merged

Control allowance of root multi-lvl wildcard subscription creation#285
dmytro-landiak merged 1 commit into
mainfrom
feature/forbid-subscribe-to-all

Conversation

@dmytro-landiak
Copy link
Copy Markdown
Contributor

@dmytro-landiak dmytro-landiak commented Jan 26, 2026

Pull Request description

Controls whether clients are permitted to subscribe to the root multi-level wildcard "#".

  • If set to true (default):
    Clients can subscribe to "#", receiving a copy of EVERY message published to the broker.
    This is useful for debugging or firehose-style monitoring services.
  • If set to false:
    Clients are explicitly denied permission to subscribe to the exact topic "#".
    They can still subscribe to specific paths (e.g., "sensors/#") or individual topics.
    Recommended for production to prevent accidental or malicious data leakage

General checklist

  • You have reviewed the guidelines document.
  • Labels that classify your pull request have been added.
  • The milestone is specified and corresponds to fix version.
  • Description references specific issue.
  • Description contains human-readable scope of changes.
  • Description contains brief notes about what needs to be added to the documentation.
  • No merge conflicts, commented blocks of code, code formatting issues.
  • Changes are backward compatible or upgrade script is provided.

Front-End feature checklist

  • Screenshots with affected component(s) are added. The best option is to provide 2 screens: before and after changes;
  • If you change the widget or other API, ensure it is backward-compatible or upgrade script is present.

Back-End feature checklist

  • Added corresponding unit and/or integration test(s). Provide written explanation in the PR description if you have failed to add tests.
  • If new dependency was added: the dependency tree is checked for conflicts.

@dmytro-landiak dmytro-landiak added this to the 2.3.0 milestone Jan 26, 2026
@dmytro-landiak dmytro-landiak added the Core Minor improvement to Core services label Jan 26, 2026
@dmytro-landiak dmytro-landiak merged commit 46a5e93 into main Jan 26, 2026
0 of 3 checks passed
@dmytro-landiak dmytro-landiak deleted the feature/forbid-subscribe-to-all branch January 26, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Minor improvement to Core services

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant