mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-30 20:29:13 -04:00
PadMessageHandler: Allow handleMessageSecurity
to grant one-time write access
This commit is contained in:
parent
31b025bd9d
commit
02a56dc58c
5 changed files with 94 additions and 35 deletions
|
@ -35,6 +35,8 @@
|
|||
* The `handleMessageSecurity` and `handleMessage` server-side hooks have a new
|
||||
`sessionInfo` context property that includes the user's author ID, the pad ID,
|
||||
and whether the user only has read-only access.
|
||||
* The `handleMessageSecurity` server-side hook can now be used to grant write
|
||||
access for the current message only.
|
||||
|
||||
### Compatibility changes
|
||||
|
||||
|
@ -43,6 +45,8 @@
|
|||
* The `client` context property for the `handleMessageSecurity` and
|
||||
`handleMessage` server-side hooks is deprecated; use the `socket` context
|
||||
property instead.
|
||||
* Returning `true` from a `handleMessageSecurity` hook function is deprecated;
|
||||
return `'permitOnce'` instead.
|
||||
* Changes to the `src/static/js/Changeset.js` library:
|
||||
* The following attribute processing functions are deprecated (use the new
|
||||
attribute APIs instead):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue