zahmis hace 5 años
padre
commit
2d713e9df8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/server/models/page.js

+ 2 - 0
src/server/models/page.js

@@ -710,7 +710,9 @@ module.exports = function(crowi) {
 
     // add grant conditions
     await addConditionToFilteringByViewerToEdit(builder, user);
+
     const { pages } = await findListFromBuilderAndViewer(builder, user, false, option);
+
     // add page if 'grant' is GRANT_RESTRICTED
     // because addConditionToListWithDescendants excludes GRANT_RESTRICTED pages
     if (page.grant === GRANT_RESTRICTED) {