Compare commits

...

2 Commits

Author SHA1 Message Date
Philipinho cc5c800238 0.70.3 2026-03-17 14:29:09 +00:00
Philipinho cfaee93af9 fix 2026-03-17 14:28:22 +00:00
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "client",
"private": true,
"version": "0.70.2",
"version": "0.70.3",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "0.70.2",
"version": "0.70.3",
"description": "",
"author": "",
"private": true,
@@ -91,9 +91,15 @@ export class SearchService {
return { items: [] };
}
const isRestricted =
await this.pagePermissionRepo.hasRestrictedAncestor(share.pageId);
if (isRestricted) {
return { items: [] };
}
const pageIdsToSearch = [];
if (share.includeSubPages) {
const pageList = await this.pageRepo.getPageAndDescendants(
const pageList = await this.pageRepo.getPageAndDescendantsExcludingRestricted(
share.pageId,
{
includeContent: false,
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "docmost",
"homepage": "https://docmost.com",
"version": "0.70.2",
"version": "0.70.3",
"private": true,
"scripts": {
"build": "nx run-many -t build",