Skip to content

fix(ui): fix for users with a . in their name are unable to edit instance name (enterprise)#446

Merged
glasstiger merged 2 commits intomainfrom
quotes_around_username
Jun 26, 2025
Merged

fix(ui): fix for users with a . in their name are unable to edit instance name (enterprise)#446
glasstiger merged 2 commits intomainfrom
quotes_around_username

Conversation

@glasstiger
Copy link
Copy Markdown
Contributor

The web console queries the user's permissions to determine if they should be able to edit instance name/type/desc or not.
This is done by executing show permissions username.
However, we should be executing show permissions 'username' instead, as the former query fails if the username contains a dot (.), such as john.doe.

The PR also fixes issues with tests.

@glasstiger glasstiger changed the title fix(ui): fix for users with . in their name are unable to edit instance name (enterprise) fix(ui): fix for users with a . in their name are unable to edit instance name (enterprise) Jun 25, 2025
emrberk
emrberk previously approved these changes Jun 25, 2025
@glasstiger glasstiger merged commit b2bdec7 into main Jun 26, 2025
4 checks passed
@glasstiger glasstiger deleted the quotes_around_username branch June 26, 2025 15:16
Vaibhav91one pushed a commit to Vaibhav91one/ui that referenced this pull request Oct 28, 2025
…stance name (enterprise) (questdb#446)

* fix(ui): fix for users with '.' in their name are unable to edit instance name (enterprise)

* rework notification data hooks
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