A field type User for entities and blocks: points to a user of the CMS, e.g. the contact person of a product.
- The admin app offers the active users of the project and the admins, with a search. The plugin's route is
GET /api/v1/plugins/user-field/api/users. - The content API delivers
{"id": "…", "name": "Jane Doe"}, never the e-mail address. A deleted user keeps the id (namenull). - Writing takes the id (or
{id}). Unknown users are refused.
No build needed: make plugin-zip name=user-field.