Problem/Motivation

We would like to go a step further and disable the "Disable the account and unpublish its content." option on the cancel user form as we do not want users to potentially unpublish significant portions of the site.

Proposed resolution

Just add a third option to disable the "user_cancel_block_unpublish" option from the "user_cancel_method" select list the same way the existing two options work.

Remaining tasks

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tobyfu created an issue. See original summary.

tobyfu changed the visibility of the branch 3534837-add-disable-the to hidden.

tobyfu’s picture

Added a patch created from the MR diff

tobyfu’s picture

Issue summary: View changes
Status: Active » Needs review
lpeidro’s picture

Status: Needs review » Reviewed & tested by the community

Hello tobyfu

Thank you very much for your contribution.
Your implementation works as expected, I merge the MR.

lpeidro’s picture

Status: Reviewed & tested by the community » Fixed
lpeidro’s picture

Title: add "Disable the account and unpublish its content." to options that can be disabled » Add "Disable the account and unpublish its content." to options that can be disabled

  • lpeidro committed 4710a4aa on 1.0.x authored by tobyfu
    Issue #3534837 allow disabling user_cancel_block_unpublish
    

Status: Fixed » Closed (fixed)

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