User can't modify notes without Administer Webform & Submission Access

Created on 20 June 2023, over 1 year ago
Updated 12 December 2023, 12 months ago

Problem/Motivation

Site User can't modify notes without Administer Webform & Submission Access

When giving them Administer Webform & Submission Access so they can modify notes, they are then able to administer all facets of the webform which is undesirable. Items such as General, Form, Emails/Handlers, Access, Build, Settings are available to them.

πŸ’¬ Support request
Status

Closed: works as designed

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States crutch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @crutch
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    You might need to write custom access controls with custom code.

    One easy workaround, that I use is to add an administrative-only notes (textarea) element to a webform and use the OOTB element access controls or the private property. You might even be able to sync the webform submission notes property with the element value.

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    You might even be able to sync the webform submission notes property with the element value.

    I did some testing, and you would need to write a straightforward update hook to sync the element and submission notes values.

  • πŸ‡ΊπŸ‡ΈUnited States crutch

    Great thank you for the quick answer!

    On the other side of the coin, if in fact we don't want them to have access then the notes column may should be hidden? Currently, the user that doesn't have access can see the notes button/link and when pressed there is no response.

  • πŸ‡―πŸ‡΅Japan Ryo Ichiyama

    I had the same problem recently, but I found that if the target webform is used as a "wenform node" content, the memo can be used without the "ADMINISTER WEBFORM & SUBMISSIONS" permission.

    I am not sure if this is the way it was designed to work, but this is how I handled it.

  • πŸ‡ΊπŸ‡ΈUnited States crutch

    Awesome, thanks so much Ryo, that works!

  • πŸ‡―πŸ‡΅Japan Ryo Ichiyama

    I am glad I could be of help :)

Production build 0.71.5 2024