Problem/Motivation

It is not necessary to have confirmation forms for disabling/enabling user restrictions. The Search module, for example, uses a controller for its Search page entities.

Proposed resolution

  • Remove the RestrictionDisableForm and the RestrictionEnableForm classes
  • Remove any reference to those classes from handlers.form
  • Leave the links for disable and enable in links
  • Add a controller for the enable and disable operations
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

avpaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review
avpaderno’s picture

Issue summary: View changes

  • avpaderno committed db63c698 on 3.0.x
    Issue #3553385: Remove the RestrictionEnableForm and the...
avpaderno’s picture

Version: 3.0.x-dev » 2.1.x-dev
avpaderno’s picture

Issue summary: View changes

  • avpaderno committed cbe2f7f3 on 2.1.x
    Issue #3553385: Remove the RestrictionEnableForm and the...
avpaderno’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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