custom_profile_fields: Add "editable_by_user" setting.

This new property allows organization administrators to specify whether
users can modify the custom profile field value on their own account.
This property is configurable for individual fields.

By default, existing and newly created fields have this property set to
true, that is, they allow users to edit the value of the fields.

Fixes part of #22883.

Co-Authored-By: Ujjawal Modi <umodi2003@gmail.com>
This commit is contained in:
tnmkr
2024-08-15 20:08:12 +05:30
committed by Tim Abbott
parent aabecf131c
commit ddecba4e1c
15 changed files with 286 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ class ProfileDataElementBase(TypedDict, total=False):
hint: str
display_in_profile_summary: bool
required: bool
editable_by_user: bool
field_data: str
order: int