It could look like a silly question, of course I can reuse password for differente pages... but, this is what I'm trying to ask:
Is there a way of "grouping" the protected pages? Like for X, Y and Z, use password xxxxxx so if you enter the password for page X, you will be automatically authorized to see page Y and page Z when you visit them.
And, is there a way to have a permission like "previously authorized" (or something similar)? Like check if the visitor/user has been authorized on page X, then also allows him/her to see content B, so I can use this kind of feature when defining routes on my app (like checking if the user is authenticated).
I categorized this question as Feature request as I can't see any way of configuring what I'm asking for.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | allow-multiple-pages-with-same-validation-3005788-17.patch | 76.81 KB | matysek145 |
| #13 | assign-mulitple-validation-page-and-authenticate-and-token-3005788-13.patch | 94.72 KB | Cecilina |
Comments
Comment #2
dhcp commentedWould love this feature too.
Comment #3
luksakNo, this is currently not possible, but sounds like a nice freature!
I created another issue that is kinda similar: #3024997: Global password is requested multiple times for every protected page
Comment #4
luksakComment #5
luksakA simpler version than the feature request in the IS would be having the paths as a multivalue field. That way we could grant access to multiple paths with one password. Appears like a simpler and better implementation.
Comment #6
Cecilina commentedCreated a patch for allow multiple pages with same validation and one page has multiple validation, also add function to apply validation through url query.
It seems composer install version is not match up with git pull version as 8.x-1.x-dev branch.
Patch 8.x-1.1 path is for composer install version as 8.x-1.1 version
Patch for 8.x-1.x-dev version is as following:
8.x-1.x-dev
Comment #7
Cecilina commentedCorrect path for correct hook_file_download and hook_update index for previous patch. as following:
assign-mulitple-validation-page-and-authenticate-and-token-3005788-7.patch
Comment #8
Cecilina commentedComment #10
Cecilina commentedfix unit test.
Comment #11
Cecilina commentedComment #12
Cecilina commentedComment #13
Cecilina commentedComment #14
Cecilina commentedComment #15
douggreen commentedSee also #2239433: Access to multiple pages with a one password which also has a patch (I didn't see this issue until now).
Comment #16
parisekPatch needs re-roll but I think definitely too big change which needs maintainer feedback first and propably bump module version
Comment #17
matysek145 commentedHere's a patch re-roll
Comment #18
nojj commentedI would love to have that feature.
is there any progress?