Skip to content

Commit

Permalink
Merge pull request #968 from ONLYOFFICE/hotfix/only-allowed-users-to-…
Browse files Browse the repository at this point in the history
…protect-range

fix: users from access list to user list for cells range protection
  • Loading branch information
LinneyS authored Mar 19, 2024
2 parents 8d23012 + cb6576b commit 458c05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/editorcontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function users($fileId, $operationType = null) {

$all = false;
$users = [];
if ($canShare) {
if ($canShare && $operationType !== "protect") {
if ($shareMemberGroups || $autocompleteMemberGroup) {
foreach ($currentUserGroups as $currentUserGroup) {
$group = $this->groupManager->get($currentUserGroup);
Expand Down

0 comments on commit 458c05b

Please sign in to comment.