mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The docs tree is laid out like the menus - a menu path is a docs path. Admin Panel / Settings follows the new structure: Visibility.md is Appearance.md, with new Features.md, Feature-Profiles.md, Security.md, Activities-and-Notifications.md and Delete.md; the section indexes, Admin-Panel.md, Admin-Panel-URLs.md (with the moved-pane redirects) and Validation.md follow the live menus, and Who-Sees-What.md explains in one place which layer decides what is shown and what is allowed. Pages are added for the menu entries that had none, each written from the code: every Admin Panel / Problems pane, the member menu, the board header, Board Settings, the All Boards left menu, and the list, swimlane and card menus. Older links to the moved panes are updated across docs/. TODO.md records what documenting the menus found: Edit Profile does not save a username for non-admins, the Support page's signed-out case is unreachable, Create board from this card is hidden from members who can edit the card, All Boards Settings is unreachable, and the Share template targets live in browser storage. Thanks to xet7 !
50 lines
2.2 KiB
Markdown
50 lines
2.2 KiB
Markdown
# Member Settings / Edit Profile
|
|
|
|
Open the top-right username menu, then **Edit Profile**. The entry is hidden
|
|
for accounts that sign in with OAuth2, whose profile comes from the identity
|
|
provider.
|
|
|
|
## Fields
|
|
|
|
| Field | Editable when |
|
|
| --- | --- |
|
|
| **Full Name** | always (up to 256 characters) |
|
|
| **Username** | **Username Change** is allowed in [Admin Panel / People / Login](../Admin-Panel/People/Login.md); otherwise read-only |
|
|
| **Initials** | always (up to 20 characters); shown in the avatar when you have no picture |
|
|
| **Email** | **Allow Email Change** is on in [Admin Panel / People / E-mail](../Admin-Panel/People/E-mail.md); otherwise read-only |
|
|
|
|
## Save
|
|
|
|
- Full name and initials are always saved.
|
|
- A changed e-mail address replaces your address and is marked unverified. It
|
|
is refused when another account already has it (*Email has already been
|
|
taken*), and while your account is [SQRL](SQRL.md)-hardlocked.
|
|
- A changed username is refused when another account has it (*This username
|
|
is already taken*).
|
|
|
|
The popup closes when the save worked, and stays open with the error otherwise.
|
|
|
|
Note: in the current code the server saves a changed **username**, and a
|
|
username and e-mail changed together, only when the caller is an
|
|
administrator (`setUsername`, `setUsernameAndEmail` in
|
|
`server/models/users.js`). For other members the popup closes without
|
|
changing them.
|
|
|
|
## Delete and Anonymize account
|
|
|
|
When **Self delete user account** is allowed in
|
|
[Admin Panel / People / Login](../Admin-Panel/People/Login.md), two more
|
|
buttons appear. Each asks for confirmation and then logs you out.
|
|
|
|
- **Delete** removes your account.
|
|
- **Anonymize account**
|
|
([#2731](https://github.com/wekan/wekan/issues/2731)) keeps your account's
|
|
history on boards, cards and comments, but replaces your username and full
|
|
name with a `deleted-user-...` placeholder, clears your initials, avatar,
|
|
e-mail address and password, and disables login.
|
|
|
|
For developers: the popup is `editProfilePopup` in
|
|
`client/components/users/userHeader.*`; the methods are `setOwnProfile`,
|
|
`setEmail`, `setUsername`, `removeUser` and `anonymizeUser`
|
|
(`server/models/users.js`, `models/lib/userAnonymization.js`).
|