Problem/Motivation

There are no user access checks for form elements added by pathauto_i18n module.

Example / screenshot
Unexpected form elements on user registration form for anonymous (clear Drupal 7 + pathauto_i18n module):
user_register_form

Proposed solution

We need to add user access checks.
User should have 'create url aliases' access or 'administer url aliases' access to view form elements.

Patch attached.
Tested on latest releases of Drupal 7 and Pathauto module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bohart created an issue. See original summary.

  • sanchiz committed 7ffc43a on 7.x-1.x authored by bohart
    Issue #2678940 by bohart: User permissions ignoring for form elements
    
sanchiz’s picture

Thank you @bohart! Committed.

Available now in 7.x-1.x-dev or in 7.x-1.5 and later once released.

sanchiz’s picture

Status: Needs review » Fixed

  • sanchiz committed 7ffc43a on 8.x-1.x authored by bohart
    Issue #2678940 by bohart: User permissions ignoring for form elements
    

Status: Fixed » Closed (fixed)

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