Correct static scope key rendering

Created on 23 October 2023, about 1 year ago
Updated 2 November 2023, about 1 year ago

Problem/Motivation

The controller that renders the table with details of a single static scope definition has a bug. All of the following plugin definition keys have their correct values rendered, but are rendered with the key "parent" (see screenshot)

I also think it would help to render "empty" values on this page (possible empty values are parent, granularity and role). This makes it a bit clear what the static scope does/does not provide, I do not think adding these empty values will create any confusion. This is my experience using these pages and trying to figure out how these static scopes work!

Steps to reproduce

View static scope pages: /admin/config/people/simple_oauth/oauth2_scope/static/static_scope%3Arole/view

Proposed resolution

Implement fix & show empty values

Remaining tasks

Implement & review

User interface changes

Correct scope keys & empty values are shown

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

6.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024