Option to lock full name when using external auth sources #13443

Closed
opened 2025-11-02 10:42:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @thezzisu on GitHub (Sep 3, 2024).

Feature Description

In certain scenarios (such as within schools), users registered through external authentication need to maintain their real names.

Since names may contain Unicode characters (like a Chinese name), a good practice is to set DEFAULT_SHOW_FULL_NAME=true and set the user's full name to their real name. In this situation, it's necessary to ensure that external users cannot modify their own full name.

An option like EXTERNAL_USER_LOCK_FULL_NAME would be great to fit this need.

Screenshots

image

Originally created by @thezzisu on GitHub (Sep 3, 2024). ### Feature Description In certain scenarios (such as within schools), users registered through external authentication need to maintain their real names. Since names may contain Unicode characters (like a Chinese name), a good practice is to set `DEFAULT_SHOW_FULL_NAME=true` and set the user's full name to their real name. In this situation, it's necessary to ensure that external users cannot modify their own full name. An option like `EXTERNAL_USER_LOCK_FULL_NAME` would be great to fit this need. ### Screenshots ![image](https://github.com/user-attachments/assets/01b06801-24f2-4803-900b-741cf874e161)
GiteaMirror added the type/proposal label 2025-11-02 10:42:32 -06:00
Author
Owner

@thezzisu commented on GitHub (Sep 3, 2024):

I am currently writing a PR for this.
Also, a working example is implemented in a fork, but I think it would be better to have this functionality built-in.

@thezzisu commented on GitHub (Sep 3, 2024): I am currently writing a PR for this. Also, a working example is implemented in a fork, but I think it would be better to have this functionality built-in.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13443