Closed (fixed)
Project:
Entityform
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2012 at 15:33 UTC
Updated:
19 Jan 2017 at 23:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tedbowI see the problem. I am trying to check if the user submitted the form on the confirm page. But for anonymous users I can't tell so I deny access.
I think I will need to pass the entityform_id(of the submission) in the $_SESSION instead of the query string.
I will work on this.
Comment #2
tedbowBumping this up to major, to remind myself I should work on this next.
Comment #3
danny englander@tedbow - Thanks! (For now I am doing a simple JQuery Text replace of the message on the page until this gets sorted out.) Cheers.
Comment #4
tedbow@highrockmedia I attached a patch for this. Please test it out.
Comment #5
danny englanderThe patch works like a charm, thanks!!
Comment #6
tedbowCommitted to dev version
Comment #8
erin814 commentedThanks the patch worked for me!
Comment #9
dp85 commentedStill exactly the same problem with access denied message. I'm using version 7.x-2.0-beta4. I think the patch above is included, but the spelling in entityform.module is different.
Patch above:
7.x-2.0-beta4:
Maybe that's the cause?
Comment #10
rudolfbykerThis is still an issue on 7.x-2.0-rc1
Comment #11
rcodinaI have done this patch to solve the problem for me. Also, to make it work, you have to assign "View own entityform submission" permission to anonymous users. Remember patch applies to latest dev version.
Note: Use this patch as a workaround at your own risk, it may introduce security vulnerabilities.
Comment #13
tedbowdp85. could you tell me exactly the spelling error you are referring to?
thanks,
Comment #14
sgdev commentedI ran into a very similar issue, and thought I'd post here in case others have this problem.
I have a site where most users post their own entityforms, but there is a small subset who do not have computer access. Administrators need to post entityforms for them.
This was handled by using
hook_entityform_access_alter. The site checks to see if the user who submitted the form has administrative access, and if so, set$access = TRUEfor$op = 'confirm'.Comment #16
joelpittetPlease open a new issue with details on this. This was closed a while ago.
Comment #18
joelpittetPeople following this issue please have a review of a patch removing the
unset($_SESSION['entityform_submission']);, which makes sense but need a second pair of eyes.#2842523: Access Denied Message on Submission Reply Page for Anonymous user