Add Permissions from Each Node Type, Like quick_node_clone does

Created on 21 August 2025, 20 days ago

Problem/Motivation

I was replacing the quick_node_clone module and noticed that this module does not have permission for node types.

Steps to reproduce

Just install it and check Permissions, the nodes don't appear there.

Proposed resolution

I brought this code snippet from the quick_node_clone module. It's a simple change that helps to better control access in relation to node types.

🌱 Plan
Status

Needs work

Component

Code

Created by

🇧🇷Brazil peduardo

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

Comments & Activities

  • Issue created by @peduardo
  • 🇸🇮Slovenia deaom

    Currently, based on my testing, this actually does not work. The permission is added for node types, but if you check permission for node type, example Article: Clone content for Content editor, it does not actually grant the permission to clone the Article. The Clone all Content entities permission needs to be granted. But that permission grants cloning for all content types.

Production build 0.71.5 2024