Content
View differences
Updated by Attila Dombi over 1 year ago
> **As an** OpenProject user
> **I want to** identify the user I want to select
> **So that** I don't select the wrong user, e.g. when managing project members, sharings and group memberships
**Acceptance criteria**
* A global permission is added "View user's mail addresses"
* Provides flexibility to the admins who should see mail addresses
* Reasoning: In some organizations, mail addresses are not assumed as private information and used to identify users
* A new default "Standard global role" is created, so that this can be configured by admins globally
* Every user will have this global role
* The role or its assignment to users cannot be deleted
* Users with this permission will see the email address of the user:
* in all user-related autocompleters as a second, muted text line
* Select project members
* Share work packages
* Share project lists
* Select group members
* Add user modal
* In the user's profile
* We remove the "Hide mail" flag, and hide the mail from all users that are lacking this permission
* Extending the API to provide this information so all autocompleters can query those user attributes.
* Extending the API and querying interface so autocompleters can search for mail addresses when having this permission
* ###58146 Open: What does this mean for highlighting the result?
**Out of scope**
* Showing group information in the autocompleter
**Figma**
[https://www.figma.com/design/HLWvSPFY6DQyIrUvnqHF9Q/Invite-users---Autocompleters?node-id=0-1](https://www.figma.com/design/HLWvSPFY6DQyIrUvnqHF9Q/Invite-users---Autocompleters?node-id=0-1)
Note: Figma mockups use full Primer designs that might not be 100% visually what will be developed.
> **I want to** identify the user I want to select
> **So that** I don't select the wrong user, e.g. when managing project members, sharings and group memberships
**Acceptance criteria**
* A global permission is added "View user's mail addresses"
* Provides flexibility to the admins who should see mail addresses
* Reasoning: In some organizations, mail addresses are not assumed as private information and used to identify users
* A new default "Standard global role" is created, so that this can be configured by admins globally
* Every user will have this global role
* The role or its assignment to users cannot be deleted
* Users with this permission will see the email address of the user:
* in all user-related autocompleters as a second, muted text line
* Select project members
* Share work packages
* Share project lists
* Select group members
* Add user modal
* In the user's profile
* We remove the "Hide mail" flag, and hide the mail from all users that are lacking this permission
* Extending the API to provide this information so all autocompleters can query those user attributes.
* Extending the API and querying interface so autocompleters can search for mail addresses when having this permission
* ###58146
**Out of scope**
* Showing group information in the autocompleter
**Figma**
[https://www.figma.com/design/HLWvSPFY6DQyIrUvnqHF9Q/Invite-users---Autocompleters?node-id=0-1](https://www.figma.com/design/HLWvSPFY6DQyIrUvnqHF9Q/Invite-users---Autocompleters?node-id=0-1)
Note: Figma mockups use full Primer designs that might not be 100% visually what will be developed.