Files
openproject/spec
schuemann b577ed62ec [#36518] respect hide mail preference in member list (#9072)
* [#36518] respect hide mail preference in member list

The member table should hide the email address if the user has the "Hide my email address" box checked in their profile.

* [#36518] respect hide mail preference in member list

Updating feature spec

* Updating feature spec

* Add transient preference object

* Include preference to avoid n+1 query

* Correctly pass user_id= to super

* Fix now invalid usages of user_preference factory

* Rewrite attribute check to include user

attribute_present? does not return true for relations such as user_id

* Only save a preference if the transient factory got used

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-03-11 13:15:01 +01:00
..
2020-05-25 12:37:20 +01:00
2021-03-02 16:20:19 +01:00
2021-01-13 17:47:45 +01:00
2021-02-19 14:00:14 +01:00
2020-01-15 11:31:26 +01:00