Closed (fixed)
Project:
Webform Navigation
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Apr 2021 at 17:26 UTC
Updated:
11 May 2021 at 22:54 UTC
Jump to comment: Most recent
Currently, the module is getting all the pages for a webform which includes pages the user does not have access to. We should only validate the pages the user has access to.
Use the 'edit', 'add', etc parameters in the getPages() function calls
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 #3
rymcveighComment #4
lkacenjaI tested this out on my local environment and it seems to work well. We are reducing the pages a user can see by overriding the WebformSubmissionConditionsValidator service. With the code from this branch, form validation related to navigation is only executed on pages a user has visited. For other cases where the pages are not reduced there should be no impact. We also ran this branch through our testing suite that uses behat to assess a number of complicated webforms and found no issues.
Comment #6
rymcveigh