Problem/Motivation

PermissionHandler sorts permissions, but you have to go poking around in the code to figure out how.

The class docs should tell you this - it's by module name, then permission label -- although that last part is buggy -- see #3350481: permissions are sorted by title but with the wrong comparison operator.

Should probably postpone on #3350481: permissions are sorted by title but with the wrong comparison operator to avoid churn.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3350482

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

joachim created an issue. See original summary.

rckstr_rohan made their first commit to this issue’s fork.

rohan-sinha’s picture

issue is dependent on the https://www.drupal.org/project/drupal/issues/3350481, so as the prior is not resolved, keeping it in Active state

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.