Score:0

Restrict access to webform submission nodes for anonymous

cn flag

I have a webform in my drupal website. I am uploading a text and pdf file through it. Now I am displaying all the content in a list using a block which is accessible for everyone. It's working fine.

So for every submission there is of-course a node created dynamically. Like - http://localhost/mysite/webform/upload/submissions/3 So it can be 3, 4, 5 whatever as uploading goes on. Now i have to restrict the access of these nodes / url pattern only to admin. I have tried every thing i found in webform settings configuration. No Luck !!!

One thing i can do is add css to hide that, but i dont think its the way to do it. So, Any help would be appreciated. Thank You.

id flag
What is the webform version?
Score:0
cn flag

In Webform (i checked version 5.8) you can do the following.

  • Go to the form in question, to the settings tab, and then the access tab
  • You can click and tune "view any submissions" and set it to the "admininstrator" role
  • You can also tune the area "view own submissions"
  • You can do the same thing via main permissions page (/admin/people/permissions)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.