Views: {display type} Settings: Access: Role | Multiple roles applies to all

Created on 15 August 2022, over 2 years ago
Updated 28 December 2023, 11 months ago

Problem/Motivation

The {viewName}: Access options dialog does not properly display where it will apply. In the block/page/etc. settings, all items only apply to that block/page EXCEPT for the access. When one changes the access, the dialog correctly allows the user to choose the scope that this change applies to. When, however, one changes the settings for that access, there is no indication of whether this applies to only this block/page/etc. or to All displays.

I vacillated between bug report and feature request but settled on bug report because this misleads the user and so is a UX error/bug.

Steps to reproduce

  1. Create a view with multiple displays, all of which can be accessed using the same (default) scheme (e.g. Role).
  2. Click on the access setting and change it to something else, it applies to all displays, but the dialog box title indicates that it applies only to that display.

If someone changes the Access scheme from role to permission or something similar, then the dialog box shows where it applies, but if you come to an existing view and change the settings without changing the scheme, there is no indication of the scope to which it applies.

Proposed resolution

Add the scope indicator to the access settings dialog boxes.

Remaining tasks

User interface changes

Add the scope indicator to the access settings dialog boxes.

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

9.5

Component
ViewsΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States bob.hinrichs

    This is very bothersome, the area of the configuration form says it is Page Settings. Not View Settings. This is a pretty bad bug, it bit me. If this is how it works then we need to create a bunch of different views, one for each access setting? I can't recall it working this way in Drupal 7.

  • There's also a security issue with this. If someone makes a change without knowing that it changes the access control to all display within the view, then it could be allowing data to show to users that should not have access to it.

Production build 0.71.5 2024