mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-17 21:12:14 +01:00
fixup! fix: Ensure edit permissions are checked before template file token generation
This commit is contained in:
parent
9222570ccc
commit
55490814b6
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ class TokenManager {
|
|||
$updatable = $updatable && $shareUpdatable;
|
||||
}
|
||||
|
||||
$updatable = $updatable && $this->permissionManager->userCanEdit($editoruid);
|
||||
$updatable = $updatable && $this->permissionManager->userCanEdit($owneruid);
|
||||
|
||||
$serverHost = $this->urlGenerator->getAbsoluteURL('/');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue