Problem/Motivation

Enabled multiple drafts option for a webform for both authenticated and anonymous users. But it only works for anonymous users and they are able to see the drafts with no issues. But if I try to test it with authenticated it saves the drafts and give proper success messages but when I try to access the drafts the drafts table is always empty. See attached.

Steps to reproduce

Turn on drafts for both authenticated and anonymous users. Try to save drafts with authenticated users and you will not be able to see any in the drafts page.

Proposed resolution

It should work as it does for anonymous users.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Comments

Ahmed.Raza created an issue. See original summary.

jrockowitz’s picture

Priority: Major » Normal
Status: Active » Needs review
StatusFileSize
new4.76 KB

Authenticated users must have the ability to 'view own submissions' via /admin/structure/webform/manage/{webform_id}/access Please review the attached example webform.

This nuance should be better documented in the Webform module's UI

jrockowitz’s picture

StatusFileSize
new965 bytes
ahmed.raza’s picture

You are life saver thanks alot man! It worked.

I never knew webform has its own access settings apart from traditional Drupal permissions.

  • jrockowitz authored d015744 on 8.x-5.x
    Issue #3215485 by jrockowitz, Ahmed.Raza: Drafts not working for...

  • jrockowitz authored d015744 on 6.x
    Issue #3215485 by jrockowitz, Ahmed.Raza: Drafts not working for...
jrockowitz’s picture

Status: Needs review » Fixed
Webform logo This ticket was completed using Open Collective funds.
Please consider joining the Webform module's Open Collective to help ensure that the Webform module is maintained.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.