Edit existing user attributes via the REST API
This extension makes existing user attributes become editable via the REST API.
Ability to edit each value is controlled by its own permission.
The value is then parsed with
This means most date formats should be valid.
Using ISO 8601 or W3C format is recommended.
Changing join date could have unexpected side effects. Other extensions can't react to the change because there are no events for it. It's recommended to only set this new attribute during registration and not change it afterwards.
Warning: there is intentionally no max length on the validation. But Flarum will truncate the value to its column size (VARCHAR 100 by default). You can edit the database column to accept longer values if you need. If you pass user-provided values here, you will need to do your own length validation.
composer require clarkwinkelmann/flarum-ext-editable-user-attributes
This extension is under minimal maintenance.
It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.
You can contact me to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.