cockroachdb / cockroachdb/cockroach

changefeedccl: error message for non-admin show changefeed job

Open
#102,160 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Before 23.1, if you were a non-admin and you tried to view the jobs table, you would see this error:

![image](https://user-images.githubusercontent.com/13264141/234067039-604047f0-1636-4d97-bdc9-fe42bc0204d7.png)

Now, you will just see that there are no jobs:

![image](https://user-images.githubusercontent.com/13264141/234067071-e777b6da-c90c-4a00-b5c6-3b801e04c77e.png)

I think this is misleading and ideally we would have a similar error message.

Something along the lines of, if any jobs are filtered out: "Some jobs may have been filtered out. You do not have global permissions to view every job"

Jira issue: CRDB-27316

Epic CRDB-28844

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.