Use board permissions to be applied for the shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -142,7 +142,7 @@ class PermissionService {
|
||||
}
|
||||
|
||||
if ($permission === Acl::PERMISSION_SHARE && $this->shareManager->sharingDisabledForUser($this->userId)) {
|
||||
return false;
|
||||
throw new NoPermissionException('Permission denied');
|
||||
}
|
||||
|
||||
if ($this->userIsBoardOwner($boardId, $userId)) {
|
||||
|
||||
Reference in New Issue
Block a user