DB Console UI shows "undefined" when role session variable is altered #124871
Labels
branch-release-23.1
Used to mark GA and release blockers and technical advisories for 23.1
branch-release-23.2
Used to mark GA and release blockers and technical advisories for 23.2
branch-release-24.1
Used to mark GA and release blockers and technical advisories for 24.1
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
P-2
Issues/test failures with a fix SLA of 3 months
T-observability
Projects
Describe the problem
DB Console UI shows message "Role Altered: User root altered role <role_name> with options undefined" when altering a role to change session variables like with
ALTER ROLE test SET timezone = 'America/New_York';
. Theundefined
keyword implies that there is a problem in the reporting even if the intention is to not convey specific details of a session variable change.To Reproduce
cockroach demo
CREATE ROLE test;
ALTER ROLE test WITH CONTROLCHANGEFEED;
ALTER ROLE test SET timezone = 'America/New_York';
with options CONTROLCHANGEFEED
for step 3, butwith options undefined
for step 4.Expected behavior
The UI should either:
with options undefined
undefined
to leave the UI reporting for session variable changes looking like "Role Altered: User root altered role <role_name> with options".Environment:
Jira issue: CRDB-39120
The text was updated successfully, but these errors were encountered: