Duplicate Submission should allow 'edit own' instead of 'edit any'

Created on 24 January 2025, 3 months ago

Problem/Motivation

We have a form where the users can either edit their past submissions or create new ones. As a time saver we want to let them duplicate their own past submissions, but the duplicate permission is to edit any submission, which seems like a mistake.

Steps to reproduce

User had edit own webform submissions permission.
The webform had "Allow users to duplicate submissions" checked
The user attempted to duplicate their own submission and gets a permissions error.

Proposed resolution

I believe it's just a little change to the route.

🐛 Bug report
Status

Active

Version

6.2

Component

Code

Created by

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

Merge Requests

Comments & Activities

  • Issue created by @zoeblair
  • Merge request !593Edit webform.routing.yml → (Open) created by Unnamed author
  • Pipeline finished with Failed
    3 months ago
    Total: 2176s
    #404827
  • Pipeline finished with Failed
    2 months ago
    Total: 1162s
    #410353
  • Pipeline finished with Failed
    2 months ago
    Total: 2831s
    #410377
Production build 0.71.5 2024