Skip to content

Resource selection not displayed in scope-based permission creation when resource is not in initial results #46384

@muhammedogz

Description

@muhammedogz

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

When creating a scope-based permission, selecting a resource via search that is not in the initial 10 results causes the selection to appear blank.

Version

latest

Regression

  • The issue is a regression

Expected behavior

The selected resource name should be displayed in the input field after selection.

Actual behavior

The input field appears empty despite the resource being correctly selected.

How to Reproduce?

  1. Have a client with authorization enabled and more than 10 resources.
  2. Go to Authorization > Permissions > Create scope-based permission.
  3. Search for a resource that is not in the first 10 results.
  4. Select it from the dropdown.
  5. The input shows blank.

Anything else?

Video attached.

scope-based-resource-hidden-bug.webm

Metadata

Metadata

Assignees

Type

No fields configured for bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions