In the D7 version of the module, I could allow anonymous users to see their webform submission and we would redirect the user to it after filling out a form so they could review what they submitted. I was hoping this could be added back into the 8.x-5.x version.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scaldinglake created an issue. See original summary.

jrockowitz’s picture

There is the ability to update an existing submission using a tokenized URL. I think this feature can be extended to support viewing a submission.

I also need to explore how Webform 7.x-4.x is allowing anonymous submissions to be viewed.

jrockowitz’s picture

So Webform 7.x tracks anonymous submission sid in $_SESSION and uses this information to display previous submissions. In #2838423: Drafts for anonymous users I thought using a secure token was safer solution but now I am second guessing this decision.

jrockowitz’s picture

Title: Anonynous view own submission » Anonymous view own submission

After I commit #2838423: Drafts for anonymous users, which contains some of the needed business logic. I will start planning out how to implement anonymous 'view own submission' access.

jrockowitz’s picture

Fixed! Please download the latest dev release to review.

pmagunia’s picture

Status: Fixed » Needs review
FileSize
884 bytes

Thanks for this awesome module!

The 'View own submission' for anonymous users works in my install. You have to make sure the new permissions are set at People -> Permissions in addition to the permissions on the particular webform.

Just a minor note: on the permissions, the HTML EM tag was malformed. Attaching patch for review.

pmagunia’s picture

Also, just found that one of the permissions description was inaccurate. Adding updated patch.

  • jrockowitz committed 2287e04 on 8.x-5.x authored by pmagunia
    Issue #2863425 by pmagunia, jrockowitz: Anonymous view own submission
    
jrockowitz’s picture

Status: Needs review » Fixed

Thanks for the patch.

Status: Fixed » Closed (fixed)

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