Skip to content

Commit

Permalink
Changing so that any publisher will get both publish and subscribe ri…
Browse files Browse the repository at this point in the history
…ghts to "their own" topics and not just subscribe rights.
  • Loading branch information
freol35241 committed Sep 28, 2023
1 parent 062e27d commit 7ce7b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_publish_acl_rules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ fi
# Do the actual work
for vessel in "${vessels[@]}"; do
topics=$(printf "\"${topic_prefix}/${vessel}/%s${topic_suffix}\"\n" "${parameters[@]}" | paste -sd,)
echo "{allow, {user, \"${username}\"}, publish, [${topics}]}."
echo "{allow, {user, \"${username}\"}, all, [${topics}]}."
done

0 comments on commit 7ce7b1d

Please sign in to comment.