Problem/Motivation

With the extensive help text at the top of the page, the modules listing at the left, the roles multi-select box, and the "Display permissions that are" section, you are likely to only be able to see one or two permissions—or less—without scrolling, which reduces the fast feedback that FPA could provide. See screenshot below.

The "Display permissions that are" section includes the below text (twice, but that's another issue).

Applies to all visible roles.
Unsaved changes are not counted.
Most effective when a single role is visible.
Empty module rows sometimes display when used with permission filter.

Steps to reproduce

Enable module and visit permissions page with Claro theme while viewing with a standard laptop screen.

Proposed resolution

Add a configuration page with an option for a simple mode that removes help text, modules listing, roles multi-select box, and "Display permissions that are" section (or option to remove each individually) OR a toggle on the permissions page to "Show advanced filters & help" / "Hide advanced filters & help" with (in my ideal world) them hidden by default.

The FPA-enhanced permissions page with most of FPA's filters, except the basic textfield filter, crossed out with red lines.

Remaining tasks

See if this change is wanted and will be accepted.

Pick the direction.

Implement the configuration and/or toggle.

User interface changes

The above described ones.

Issue fork fpa-3354083

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

mlncn created an issue. See original summary.

mlncn’s picture

Component: User interface » Documentation
Category: Feature request » Task

Turns out the module i want for this is https://www.drupal.org/project/permissions_filter

Could we update the project page to list it as an alternative?

mlncn’s picture

And this simple filter functionality is now in Drupal core! Woohoo!

https://www.drupal.org/node/3385147

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

astonvictor’s picture

Status: Active » Needs review

Hi there,

Created a simple config form (with a config schema, menu links, etc) to disable some sections on the page.
Thanks in advance

astonvictor’s picture

Status: Needs review » Fixed

thanks
fixed in the dev version

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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