Duplicate operation should require 'create' permission

Created on 2 July 2025, 4 days ago

Overview

In 📌 Update `ApiContentControllers::list()` to expose available content entity operations in `meta` Active we exposed the operations that can be executed on content.

The 'duplicate' operation relies on 'update' access, while it should be creation access.

Proposed resolution

Fix permissions + test

User interface changes

Duplicate will be visible only when we can create content.

🐛 Bug report
Status

Active

Version

0.0

Component

Internal HTTP API

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024