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
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: