mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
security: Enable authorize plugins to grant modify-only access
This commit is contained in:
parent
6ed11b7605
commit
02757079c0
4 changed files with 66 additions and 4 deletions
|
@ -13,6 +13,7 @@ exports.normalizeAuthzLevel = (level) => {
|
|||
switch (level) {
|
||||
case true:
|
||||
return 'create';
|
||||
case 'modify':
|
||||
case 'create':
|
||||
return level;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue