Problem/Motivation

Since I installed DataBase Email Encryption I get a Info at the head of each Content-Type with author information: "Security: User XYZ's email address is encrypted". I see no way to hide this information.

Steps to reproduce

Install the module, activate it with default settings and see result in the header of Content types that have Author information in the Status line (Article, Book page and alike).

Proposed resolution

It's nice to have that info in a user-profile, but I don't see it's usefulness on every normal page/article. If there is a way to hide it I haven't found, neither in documentation nor in any "structural" or "configurational" pages. The Documentation speaks of a "DataBase Email Encryption settings" page in configuration/system. I don't get that page, I get "Encryption profiles" and "Keys".

Remaining tasks

User interface changes

API changes

Data model changes

Comments

pancapangrawit created an issue. See original summary.

thedut’s picture

Hello pancapangrawit,

Thank you for reporting this issue.
I have successfully reproduced this issue on a Drupal 9 platform.
As a workarround, you can manually fix it on your website from the User Interface :

  1. going to the admin/config/people/accounts/display page
  2. and disabling the Email encryption field by dragging and dropping it at the bottom of the list.
  3. repeat this procedure for each display (Default and Compact).
  4. Refresh the cache

I will write a fix for this issue.

pancapangrawit’s picture

Thank you for explaining so patiently! Stupid me, that I didn't see it myself!
Best
.p.

  • thedut committed 59839bd on 8.x-2.x
    Issue #3165316 by pancapangrawit, thedut: Improve dbee extra_field...
thedut’s picture

Status: Active » Fixed

I have commited a fix : The dbee extrafield (displaying the text : "Security XYZ's email address is encrypted") visibility has been improved :

  • During the module install : this field will be hidden on the compact view_mode_display page (and already existing custom view_mode_display). The compact view_mode_display is responsible of this issue (this is the view mode used for at the head of each Content-Type with author information)
  • But it will still displayed on the User profile page and pages using the default view mode,
  • But only for user with the 'administer dbee' permission.

This fix is already available in the dev release and will be included into the v8.x-2.3 release, coming soon.

jcnventura’s picture

Thanks @thedut. I've created the 2.3 release, as there are no other issues, and 2.2 is broken in Drupal 9.

thedut’s picture

Thanks João for the v8.x-2.3 release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.