[Bug]: TS commands like RANGE, REVRANGE do not work in workbench with ACL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.8k
- Forks
- 491
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Preconditions (Any important steps we need to know)
Create readonly user with access to +@read ~*
Tried with explicit access too
+TS.RANGE, TS.INFO
Steps to reproduce (How to reproduce what you found step by step)
- Create a connection using a read access user
- Open Workbench
- RUN the command. eg
TS.RANGE "{FINNHUB_PRICES_20260102:RETURN1DAY}:LQ9WBB-R" - +
Actual behavior (A short description of what you found)
Workbench shows the error "Time series data structure is not available for this database"
The command works in the CLI.
Same Command works for a full access user in the workbench.
Expected behavior (A short description of what you expected to find)
- The command should work as it does in a full access user (read/write) without any additional access.
- It should not show an incorrect error page.
Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)
Additional context (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)
Tested with Redis Cloud Database for versions 8.2 and 7.4
MacOS
RedisInsight Version 2.70.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Workbench with a Redis user granted +@read ~* and run the shown TS.RANGE command against Redis Cloud 8.2 or 7.4. Trace how Workbench checks Time Series availability and handles ACL permissions for TS commands. Done means the read-only user can run TS.RANGE and TS.REVRANGE without the incorrect unavailable-data error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- redis, typescript
- Domain
- databases, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100