getgrav / grav-plugin-login

Grav Login Plugin
http://getgrav.org
MIT License
44 stars 54 forks source link

'protect_protected_page_media' does not work as intended for modular pages #294

Open clesmian opened 1 year ago

clesmian commented 1 year ago

As mentioned by @Dean-kasail in #45 (comment) the setting 'protect_protected_page_media' is not honored for modular pages.

More specifically only media that is directly located in the root folder of the modular page is protected, but not media, which is located in one of the subfolders:

02.login-protected-page
├── protected.file
└── 01._protected-module
        └── not-protected-anymore.file