WAMP-CRA permissions: Allow keyword ":all" for convenience
Closed this issue · 1 comments
cgmartin commented
Explicitly whitelisting all of the RPC/Pub/Sub topics in the CRA permissions map can be somewhat tedious.
Allow the map to contain a shorthand :all
keyword:
{:all true}
;; or mix/match per type, using a boolean
{:rpc true ; all rpc calls are allowed
:subscribe false ; no subscriptions allowed
:publish {("http://chat") true}} ; one topic allowed for publish
cgmartin commented
Implemented in 1.0.0
release.