Skip to content

fix(consumer): makes the username field read-only on the consumer edit page#3396

Open
okaybase wants to merge 3 commits into
apache:masterfrom
okaybase:consumer-username
Open

fix(consumer): makes the username field read-only on the consumer edit page#3396
okaybase wants to merge 3 commits into
apache:masterfrom
okaybase:consumer-username

Conversation

@okaybase
Copy link
Copy Markdown
Member

@okaybase okaybase commented May 25, 2026

Why submit this pull request?
username is the unique identifier of the Consumer. When editing the Consumer, username should not be editable. Currently, it can be edited and saved to create a new Consumer.

What changes will this PR take into?
This PR makes the username field read-only on the consumer edit page.

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • I have added tests corresponding to this change
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Copy link
Copy Markdown
Contributor

@Baoyuantop Baoyuantop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add coverage for cases: the username input is read-only in Consumer detail edit mode page.

@okaybase
Copy link
Copy Markdown
Member Author

Please add coverage for cases: the username input is read-only in Consumer detail edit mode page.

tests added

@okaybase okaybase requested a review from Baoyuantop May 28, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants