A cloud session can now change your local session's permission mode, if the mode passes validation.
What's wrong with this entry?
A cloud or remote session can now broadcast a permission mode change and have the local session adopt it, provided the mode is one of the allowed values and the local validator accepts it.
- Rejected broadcasts are logged rather than applied silently, and accepted ones are logged too.
- The remote control-request path also counts successful
set_permission_modecalls. - Only runs in the remote/cloud session wiring; local-only sessions are unaffected.
[remote] Applied permission-mode broadcast:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.