Replicate Permissions

Categories

Component ID

2623310

Component name

Replicate Permissions

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

407

Component created

Component changed

Component body

About this module

The Replicate Permissions module allows users with appropriate permissions to choose which roles are allowed to replicate which content types, as well as to make specific nodes replicable. The Replicate UI module only allows all content types to be replicable, which could cause issues in cases where site admins would like editors to be able to replicate only certain content types / nodes. This module can fill the gap nicely by providing a granular access control over the replication feature.

Depends on:

Replicate module
Replicate UI module

Available options

There are two ways to control the way users replicate content with this module. These can be enabled / disabled in the module's settings page:

Per-content type permissions
The module generates a permission to replicate the content per content type, such as "Replicate nodes of content type Article". By assigning this permission to a role, users of the role can create clones of the content type, while leaving nodes of other content types unavailable for replication.
Per-node permissions
The module adds a checkbox to the node edit form that determines whether a node is replicable. Users with "Configure per-node replication option" are able to see and change this setting. If this option is enabled on a node, users with the permission "Replicate replicable nodes" are able to replicate them.

How permissions work

The table below shows how the options work. Note: node access permissions take precedence so if a user doesn't have the permission to view/create a certain content type, s/he will not be able to replicate nodes of that content type.

  Permitted to bypass Replicate Permissions Permitted to replicate any Article nodes Permitted to replicate a specific Article node (e.g. node/42)
Can replicate a specific Article node (e.g. node/42) ✔ ✔ ✔
Can replicate any Article node ✔ ✔ ✗
Can replicate any Page node ✔ ✗ ✗

Â