Problem/Motivation

Guardian has code in guardian_form_user_form_alter() to prevent the login details of a guarded from being edited. However, this code only applies when the form is opened by the current user (user 1).

Proposed resolution

Correct guardian_form_user_form_alter() so it applies correctly on the user edit form for a guarded account.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

The username, email address and password can no longer be edited in a guarded user account.

API changes

None.

Data model changes

None.

Comments

idebr created an issue. See original summary.

idebr’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

Attached patch corrects guardian_form_user_form_alter() so it applies correctly on the user edit form for a guarded account.

  • Tessa Bakker committed aa17c00 on 8.x-1.x authored by idebr
    Issue #2929217 by idebr: guardian_form_user_form_alter() does not apply...
tessa bakker’s picture

Status: Needs review » Fixed

Thanks :)

Status: Fixed » Closed (fixed)

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