Problem/Motivation

Steps to reproduce:

  1. On the module's config page admin/config/gdpr/compliance the "Enable on user registration" option is checked.
  2. Expected: administrator still should be able to create other user accounts via the /admin/people/create page.
  3. Result: the "I have read and agree to the Cookie & Privacy Policy" option appears even on the /admin/people/create page too, and Chrome's client-side validation blocks the form submission as the consent is mandatory. This way administrator cannot create new user entities:

Screenshot

Proposed resolution

Ensure that the module handles separately the /user/register and /admin/people/create forms.

Remaining tasks

Figure out where to place a proper IF condition (in routing check maybe?), then diff a patch, test and commit.

User interface changes

Site administrators should be able again to create user accounts while the module is active on the registration page.

Raising priority to Major, because causing regression on a core feature.

Comments

Balu Ertl created an issue. See original summary.

  • APolitsin committed 565254b on 8.x-1.x
    Issue #2970644 by Balu Ertl: Consent checkbox appears on /admin/people/...
apolitsin’s picture

apolitsin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

kduryee’s picture

I just upgraded from 8x-1.6 to 8x-1.8 specifically in order to fix this issue, however, the checkbox still appears at the bottom of the node edit page, exactly the same as the original poster's image. Did the fix fall out moving from 1.7 to 1.8?

apolitsin’s picture

Assigned: Unassigned » apolitsin
Status: Closed (fixed) » Needs work

  • APolitsin committed 0d5741d on 8.x-1.x
    Issue #2970644 by Balu Ertl, APolitsin, kduryee: Consent checkbox...
apolitsin’s picture

Version: 8.x-1.6 » 8.x-1.8
Status: Needs work » Fixed

Thank you, kduryee for your feedback!

I added a obvious verification to prevent the display of the checkbox on the user administration page.
Check version 8.x-1.9.

Status: Fixed » Closed (fixed)

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