I have a use case where I would like to protect whole 'sections' of a website. In this case using a wildcard would hide child pages. eg: protect pages under: `/about/*`
I have included a patch that would expand on the existing functionality to allow for <front> and * characters.
Thanks,
| Comment | File | Size | Author |
|---|---|---|---|
| wildcards.patch | 8.03 KB | sherakama |
Comments
Comment #2
sherakama commentedComment #3
XerraX commentedworks for me
Comment #4
scottsawyerWeird, I could not apply patch against 7.x-2.x but I could against 7.x-2.4
Comment #5
scottsawyerApparently this patch does not include the "Edit Protected Pages" form. If I have a Protected Page using a wild card "protected/*" and I attempt to edit the page, I get the error: Please enter a correct path!
Comment #6
scottsawyerSetting to needs work because the Edit screen should allow for editing paths with a wildcard.