mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
security: Enable authorize plugins to grant read-only access
This commit is contained in:
parent
505d67ed1c
commit
180983736d
5 changed files with 41 additions and 5 deletions
|
@ -292,6 +292,7 @@ You can pass the following values to the provided callback:
|
|||
downgraded to modify-only if `settings.editOnly` is true.)
|
||||
* `['modify']` will grant access to modify but not create the pad if the
|
||||
request is for a pad, otherwise access is simply granted.
|
||||
* `['readOnly']` will grant read-only access.
|
||||
* `[false]` will deny access.
|
||||
* `[]` or `undefined` will defer the authorization decision to the next
|
||||
authorization plugin (if any, otherwise deny).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue