Problem/Motivation

At this moment, the 'use administration pages and help' permission has some flexibility issues. It gives users access to the structure, configuration and help sections at once. Giving a certain role proper access to structure admin pages, without giving it access to configuration admin pages, is not possible using the UI.

example
Giving users only access to structure admin pages results into a 'You do not have any administrative items.' message on the configuration page.

Proposed resolution

In my opinion, the access to administration pages should depend on it's child menu-items. For example: if a role has the 'manage blocks' permission, it should automatically have access to the structure page.

By doing this, the 'Use the administration pages and help' permission can be replaced by a 'Use help' permission inside the help module.

CommentFileSizeAuthor
Schermafbeelding 2017-05-27 om 17.40.16.png160.53 KBAnonymous (not verified)

Comments

Anonymous’s picture

Vic Luijkx created an issue. See original summary.

Anonymous’s picture

Issue summary: View changes
Anonymous’s picture

Issue summary: View changes
xjm’s picture

Version: 9.x-dev » 8.8.x-dev

Under our continuous upgrade path and deprecation policy, feature and API additions should be added with backwards compatibility in minor releases, so moving to 8.8.x. Thanks!

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

cedewey’s picture

This proposal makes a lot of sense and would address a common permission problem I run into when building sites. Help pages are rarely useful for editors and site managers because the vast majority of module help pages are written for developers. Since I manage that level of the site, these pages are irrelevant to them.

I cannot hide the Help section per role because it is tied in with the "Use administration pages" permission. The only option is to disable the Help module altogether.

Is there any interest from the Drupal core team in prioritizing this for Drupal 9? It would be a great improvement to the usability of Drupal.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

benjifisher’s picture

We briefly discussed this issue, and the related #3204810: Add new permission for accessing help pages, at #3225198: Drupal Usability Meeting 2021-07-30.

See the comment I just added on the related issue.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

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

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

andypost’s picture

Closing as duplicate of #3204810: Add new permission for accessing help pages

Because in 10.x the permission is access administration pages and help module should provide its own permission since we solved #3090659: Make a way for help topics to generate links only if they work and are accessible