mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Only allow protect permission for sheets
This commit is contained in:
parent
f75f4d0e98
commit
7fe8234743
@ -2155,6 +2155,7 @@ define([
|
||||
permissions: {
|
||||
download: dc?.permissions?.download || false,
|
||||
print: dc?.permissions?.print || true,
|
||||
protect: file.type === 'xlsx',
|
||||
}
|
||||
},
|
||||
"documentType": file.doc,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user