-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing root topics names for clarity
- Loading branch information
1 parent
836ce53
commit 53a7978
Showing
12 changed files
with
90 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
%% Allow access for internal users to PONTOS and PONTOS_HUB root topics | ||
{allow, {user, "__internal__"}, publish, ["PONTOS_HUB/#"]}. | ||
{allow, {user, "__internal__"}, subscribe, ["PONTOS/#"]}. | ||
%% Allow access for internal users to PONTOS_EGRESS and PONTOS_INGRESS root topics | ||
{allow, {user, "__internal__"}, publish, ["PONTOS_EGRESS/#"]}. | ||
{allow, {user, "__internal__"}, subscribe, ["PONTOS_INGRESS/#"]}. | ||
|
||
%% Allow subscriptions to the PONTOS root topic from anyone | ||
%% Allow subscriptions to the PONTOS_EGRESS root topic from anyone | ||
%% that is already authenticated | ||
{allow, all, subscribe, ["PONTOS_HUB/#"]}. | ||
{allow, all, subscribe, ["PONTOS_EGRESS/#"]}. | ||
|
||
%% Deny everything else | ||
{deny, all}. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.