Platform 2021.03.16
On production sites
This release lets you protect websocket channels and adds two filters.
Control who can join a websocket channel
Create channels/channel_name/subscribed.liquid, where channel_name is your channel. It works like an Authorization Policy. If it evaluates to true, the user can use the channel. If not, they cannot. This stops people from listening to other people's direct messages. If you do not create the file, the channel has no authorization and is public.
New money filters
Use the new amount_to_fractional and fractional_to_amount filters in Liquid.
Also in this release
- New flag
do_not_add_return_to_to_authorization_policies, which you can set inapp/config.yml