Allow role specification for d7_user_role plugin

Created on 28 July 2018, over 6 years ago
Updated 16 February 2023, almost 2 years ago

I'd like to see the ability to specify which user roles to import with the d6 and d7_user_role plugins.

✨ Feature request
Status

Closed: duplicate

Version

9.5

Component
MigrationΒ  β†’

Last updated 3 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States agileadam Maine, USA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mikelutz Michigan, USA

    The core migration sources are designed to support the core migration UI, which itself is designed to migrate all content/users from a d7 site. There is no need to limit users by role, as they are all migrated at once in the core user migration. You will want to have a custom source plugin to support your custom migration here, but it is not appropriate to include custom migration sources in Drupal core. The migration system is designed to be extensible to allow you to create targeted source plugins like this as needed.

  • Status changed to Closed: duplicate almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States mikelutz Michigan, USA

    Note: we do have an issue #3069776: SQL source plugins: allow defining conditions and join in migration yml β†’ to allow arbitrary sql filtering on ANY plugin extending SqlBase. This is something that we would make use of in core to reduce the number of source plugins needed. It would also be a path to solving your issue. In retrospect, I'm going to close this as a duplicate of that one.

Production build 0.71.5 2024