- Issue created by @maseyuk
- Status changed to Postponed: needs info
10 months ago 5:26pm 17 January 2024 - π¬π§United Kingdom maseyuk
No problem i've just added it, I hope it makes sense
I cannot reproduce this bug as written. I:
- Created a site with Webform 6.2.2 on https://simplytest.me.
- I created a role, "Foobar", and a user in that role.
- I created a webform and modified its access as shown here:
- I logged in as the use with role Foobar.
- I browsed to the form URL.
- I saw the form and could submit it.
There must be other conditions on that given site, or, steps to reproduce.
- π¬π§United Kingdom maseyuk
Thanks, debugging it further it seems this access check is causing it https://git.drupalcode.org/project/webform/-/blob/6.2.x/src/WebformEntit... which in turn is failing on https://git.drupalcode.org/project/webform/-/blob/6.2.x/src/Plugin/Webfo... as it seems "source_entity_type" isn't part of the request query
I'm struggling to see what my webforms are missing for this to be happening. Any suggestions welcome!
- π¬π§United Kingdom maseyuk
I've tracked down the issue incase it helps anyone else in the future. In "/admin/structure/webform/config" there is the "Allow users to post submissions from a dedicated URL for all webform ?" setting, this was unticked for me causing the access errors.
Looks like this came in here https://www.drupal.org/project/webform/issues/3249092 β¨ Make it possible to disable 'Allow users to post submissions from a dedicated URL' for all webforms Fixed and there's even someone else mentioning it messed their forms up becuase the default is faultso they lost access too
Really the default should have been TRUE has this was the behaviour before the change was bought in.
- Status changed to Closed: works as designed
7 months ago 2:26am 5 April 2024