Modify and enhance core to allow managing users only on their uuids ("uuuid" > "u3id") and allow to hide the user serial entity ids (uid).
Features
Provide uuid based user paths for every use case. See also this comment: https://www.drupal.org/project/drupal/issues/2353611#comment-15752145
Already implemented u3id features:
- view: user/{user} based on u3id
- redirect /user > user/{user} based on u3id
- edit: user/{user}/edit based on u3id
- one-time login link mail token: '*u3id-one-time-login-url*' leading to the following 3 routes
- user reset: /user/reset/{u3id}/{timestamp}/{hash}
- user reset login: /user/reset/{u3id}/{timestamp}/{hash}/login
- user reset form: /user/reset/{u3id}
- user cancel form: /user/{u3id}/cancel
Planned features:
- #3471806: Add possibility to restrict uid based routes
- #3471807: CLI/Drush u3id based user link creation
Post-Installation
To avoid serial uid in onetime login links and use the uuid based routes of this module you need to change configuration.
Replace serial entity ids in core mail token of all mail templates at /admin/config/people/accounts:
- `[user:one-time-login-url]` > `*u3id-one-time-login-url*`
- `[user:cancel-url]` > `*u3id-cancel-url*`
Be aware of other modules overridng core user mails and tokens like easy_mail.
Because of replacement at mail process we don't need to be compatible to core token replacement.
Additional Requirements
none
Recommended modules/libraries
none
Similar projects
unknown
Supporting this Module
Nodegard
Community Documentation
TBD
Project information
- Created by c-logemann on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
