Updated: Comment #N

Problem/Motivation

Drupal 7 had second level tabs on admin/people/permissions page which consisted of *Permissions* and *Roles* menu items. This is missing currently in Drupal 8 and there is no way to navigate to *Permissions* or *Roles* page.

Please find the attached screenshots for reference.

Proposed resolution

  • Add second level tabs to admin/people/permissions and admin/people/roles page.

Remaining tasks

User interface changes

Second level tabs for *Permissions* and *Roles* added to admin/people/permissions and admin/people/roles pages.

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

a_thakur’s picture

Issue summary: View changes
a_thakur’s picture

Status: Active » Needs work
Berdir’s picture

Note that a while ago, Roles were moved to a top level local task, so there was People | Permissions | Roles, we should get back to that, not the 7.x way.

SteffenR’s picture

Hi @Berdir - where can i find these new local tasks in the latest DEV of d8?
I installed the latest DEV and only find the Permissions Tab on the admin/people page.

I'm also wondering, that we do not show Roles and Permissions as sub items of the People menu.
Screenshot: http://img.port11.de/screenshots/20131209_083120.jpg

SteffenR

larowlan’s picture

Issue tags: +Needs tests
larowlan’s picture

Priority: Normal » Major
Status: Needs work » Needs review
Issue tags: -Needs tests
FileSize
1.06 KB
1.37 KB

Regressions are major

The last submitted patch, 6: secondary-tabs-2135975.fail_.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 6: secondary-tabs-2135975.pass_.patch, failed testing.

larowlan’s picture

FileSize
1.43 KB
2.1 KB

Fixes phpunit fails

larowlan’s picture

Status: Needs work » Needs review
dawehner’s picture

FileSize
2.58 KB
2.75 KB

Let's make it more like Drupal 7.

larowlan’s picture

See comment #3, I agree with @berdir - the D7 way is pants. A top level tab is better.

aspilicious’s picture

Triple agree with Berdir

Berdir’s picture

Status: Needs review » Needs work

Woo, people agree with me ;)

Not that it would matter, this isn't about opinions.. It *was* changed to admin/people/roles before something broke it.

See #1262812: Make "Roles" a tab of "admin/people" instead of "admin/people/permissions".

dawehner’s picture

Status: Needs work » Needs review
Issue tags: +PHPUnit
FileSize
2.49 KB
2.62 KB

berdir++

The last submitted patch, 15: user_roles-2135975.patch, failed testing.

dawehner’s picture

15: user_roles-2135975.patch queued for re-testing.

Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, confirmed that this is working.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Hm. Strange that we introduced this. It looks like it's code that just flat-out wasn't moved over. Anyway, glad to see it fixed + test coverage now.

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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