- Issue created by @BramDriesen
- Merge request !13Issue #3343640: Extra permission to restrict the canonical poll page → (Closed) created by BramDriesen
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 9:33am 22 February 2023 - Assigned to adammalone
- Status changed to Active
almost 2 years ago 10:24am 22 February 2023 - 🇨🇭Switzerland berdir Switzerland
this is much trickier than you think because the canonical page is always used for the form submission, you will need to set up a custom request subscriber or so that only disallows GET requests.
It would also require an update function to grant that permission to users that already are allowed to see polls, and a lot of test updates as you can see.
Honestly, I'm not really interested in supporting this use case and am strongly considering to mark this as won't fix.
- Issue was unassigned.
- Status changed to Needs work
almost 2 years ago 10:25am 22 February 2023 - 🇧🇪Belgium BramDriesen Belgium 🇧🇪
@Berdir that I obviously didn't think of. So the request subscriber would be the way to go?
- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
This should be solved on the project level I think.
Example: https://drupal.stackexchange.com/questions/243564/how-to-prevent-users-e...