How to reproduce:

  1. Enable the page manager "user edit" task
  2. Enable a module that deals with user categories (e.g. Profile 2)
  3. Add a selection rule that targets the admin role only
  4. Login as a user that is not admin
  5. Go to the user category edit page

What we see:
The main user edit form (category "account")

What we should see:
The user category edit form (so not the "account" one)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

B-Prod’s picture

Attached patch solves this issue.

B-Prod’s picture

Status: Active » Needs review
cosolom’s picture

Issue summary: View changes

Thanks! Also good example when enabled Simplenews. User can't edit subscriptions.
Patch #1 works great for me!

B-Prod’s picture

Status: Needs review » Reviewed & tested by the community

Update to RTBC, according to cosolom comment above.

  • japerry committed 01efff3 on 7.x-1.x authored by B-Prod
    Issue #2059039 by B-Prod: Fallback behavior for user edit page omits the...
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Simple, Fixed.

Status: Fixed » Closed (fixed)

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