Problem/Motivation

Currently the "broadcast" route used by the "Email product registrants" page requires "administer registrations" permission. This means someone with both "Manage registrations" and "Manage sending registrant email" permissions is unable to use it, even though having both those permissions should be sufficient.

Steps to reproduce

Assign both the "Manage registrations" and "Manage sending registrant email" permissions to a user. Login as that user and attempt to access the "Email product registrants" page for a given commerce product, and observe the link is not present.

Proposed resolution

Fix the route requirements.

User interface changes

None

API changes

None

Data model changes

None

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

john.oltman created an issue. See original summary.

  • john.oltman committed ad87021c on 3.1.x
    #3492400: Email product registrants access check is too strict
    

  • john.oltman committed 303416fc on 3.3.x
    #3492400: Email product registrants access check is too strict
    
john.oltman’s picture

Assigned: john.oltman » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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