Folder creation does not respect page rules
Folder management partially follows the page rules but not all It is hard to understand the assets management while there is not much in the documentation. The upload is ruled by the page rules but not the folder creation. I can create any folder (which is wrong) but I cannot upload anything to it if it does not follow the rules (which is correct).
To Reproduce Steps to reproduce the behavior:
- Set page rule to disable reading and creating pages starting with
/internal - Create new folder
/internal - The folder has been created (!) but I cannot see it !
Expected behavior The creation of the folders should respect the creation of the page rule as it does respect display of it. I should not be able to create something what I am not allowed to see. It is common that "Create" rule has higher priority than "Read" rule.
Host Info (please complete the following information):
- OS: Linux - Ubuntu (bionic) 18.04 x64
- Wiki.js version: 2.5.170
- Database engine: postgres 13.2
- Node: 15.9.0