I have the "Global Password Setting" set to "Allow only global" and I have multiple pages. When entering the global password on protected page 1, I get access to it. When visiting protected page 2, I am being prompted for the password again.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3024997-11-reroll-8-8.x-1.9.patch | 4.45 KB | ciprian.jitaru |
| #5 | 3024997-global-only-once-5.patch | 2.19 KB | mekal |
| #4 | 3024997-global-only-once-4.patch | 2.24 KB | luksak |
Issue fork protected_pages-3024997
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
luksakComment #3
luksakComment #4
luksakI implemented this for the "Allow only global" setting. Implementing this for "Allow per page password or Global password" is a little more complex.
In case someone uses the global password, I set the
pidto0.Comment #5
mekal commented#4 did not apply for me on dev (Development version: 8.x-1.x-dev updated 11 Nov 2019 at 00:03 UTC).
Submitting a re-roll.
Comment #6
mekal commentedIf you want to use #5 with the wildcard patch (#17), here is a reroll for that.
Comment #7
oksana-c commentedComment #8
flydragon865 commentedThe requirement was to add an option for the administrator so that the Global Password is entered only once. The rest of the module functions should work as is. The patch adds a checkbox in admin screen [/admin/config/system/protected_pages/settings] for Allow Only Global option. If this is checked, the global password can be entered only once for all the protected pages.
Cheers!
Comment #9
dmanderc commentedsomehow patch 6 was not working for me this one does.
Comment #10
douggreen commentedIs this different than #2239433: Access to multiple pages with a one password?
Comment #11
berliner commentedThis is a re-roll of #8, which sounds like the better approach compared to #9 which removed the config part (form and schema). Patch applies to current dev and to 8.x-1.6. Seems to work as expected.
Comment #12
ciprian.jitaru commentedThis is a re-roll of #11. Patch applies to 8.x-1.9.
Comment #15
aaronbaumanOpened MR!44 with patch from #12, which was not applying for me.