Skip to content

Commit

Permalink
Merge pull request #53 from MO-RISE/fix/update-acl-script
Browse files Browse the repository at this point in the history
Changing so that any publisher will get both publish and subscribe ri…
  • Loading branch information
freol35241 authored Sep 28, 2023
2 parents 062e27d + 7ce7b1d commit 158bcdc
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 158bcdc

Please sign in to comment.