element-hq / element-hq/synapse

Add config to prevent changes to custom profile keys

Open
#18,525 0 comments 0 reactions 0 assignees View on GitHub
A-Abuse A-Profiles O-Uncommon S-Tolerable T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

**Description:**

https://github.com/element-hq/synapse/pull/17488 Added support for custom key:value pairs for user profiles, however there doesn't seem to be a way to prevent users from setting these values like with the [enable_set_displayname](https://element-hq.github.io/synapse/develop/usage/configuration/config_documentation.html#enable_set_displayname) config option

The config could either be a blanket forbid on all fields or a list of forbidden field names. I think the same behavior like with displayname and avatar_url where only admins can set the values would make sense

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.