Skip to content

[backport v2.15.1] Generic OIDC provider: If scopes are mandatory (openid, profile and email) UI shouldn't allow the removal/edit of those scopes #18644

Description

@rancher-ui-project-bot

This is a backport issue for #15707, automatically created via GitHub Actions workflow initiated by @marcelofukumoto

Original issue body:

related to SURE-10875

Setup

  • Rancher version:
  • Rancher UI Extensions:
  • Browser type & version:

Describe the bug

Generic OIDC provider: If scopes are mandatory (openid, profile and email) UI shouldn't allow the removal/edit of those scopes

To Reproduce

  • Go to Generic OIDC provider
  • remove one of these three scopes and fill in the rest of the form
  • Enabled button is greyed out and no relevant feedback to the user

Result

  • Enabled button is greyed out and no relevant feedback to the user

Expected Result

  • Users shouldn't be allowed to delete the openid, profile and email scopes since they are mandatory

Screenshots

Image Image

Additional context

Metadata

Metadata

Labels

JIRAQA/dev-automationIssues that engineers have written automation around so QA doesn't have look at thisarea/authAuthentication and RBACkind/bugsmall-scope (mixin)A smaller issue that's a good candidate to mixin with other issues in a sprintstatus/backport-candidate

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions