There are scenarios when it's possible to have duplicates for unique fields.
Scenario #1: The user has an admin role to skip validation.
Scenario #1: There were duplicates for the field before enabling configurations.

It should be possible to review all duplicates for admin users.
Solution:
1. Create a new permission to access the admin page.
2. Create a new /admin/config/content/unique-fields/duplicates route.
3. Implement a controller that should show a table with all duplicates.
It should have the following columns: field name, value, usages (links to related node/term/user).

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

astonvictor created an issue. See original summary.

astonvictor’s picture

Issue summary: View changes
igor mashevskyi’s picture

Assigned: Unassigned » igor mashevskyi

igor mashevskyi’s picture

Assigned: igor mashevskyi » astonvictor
Status: Active » Needs review
astonvictor’s picture

Assigned: astonvictor » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.