Problem/Motivation

I want to clone a product from the Drupal commerce module, but I don't have the option to take ownership. The problem is the missing permissions because the commerce has its own implementation of the EntityOwnerTrait.

Steps to reproduce

  1. Install drupal/commerce module
  2. Go to /admin/people/permission -> Permissions Tab -> Select Entity Clone
  3. Search for "Allow user to take ownership of Product. All commerce entity related permissions are missing."

Proposed resolution

Check for the EntityOwnerInterface instead of OwnerEntityTrait, since its less likely that other modules use a different interface.

Remaining tasks

Testing

User interface changes

none

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hlaun created an issue. See original summary.

hlaun’s picture

Issue summary: View changes

hlaun’s picture

Issue summary: View changes
hlaun’s picture

Issue summary: View changes
hlaun’s picture

Status: Active » Needs review
hlaun’s picture

Issue summary: View changes