Problem/Motivation

In code and UI, user restrictions are sometimes called rules. We should aim to always use the same term (which could be shorted as restrictions). For this reason, the rule_type property should be renamed plugin, since that is effectively a plugin ID.

Proposed resolution

Replace the rule_type property with the plugin property. (The change must be backward compatible.)

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 aed55e3b on 2.1.x
    Issue #3555016: Rename the rule_type property plugin
    
avpaderno’s picture

Version: 2.1.x-dev » 3.0.x-dev

  • avpaderno committed a6d008d1 on 3.0.x
    Issue #3555016: Rename the rule_type property plugin
    
avpaderno’s picture

Assigned: avpaderno » Unassigned
Status: Needs review » Fixed

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

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

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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