-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Description
Describe the bug
I don't understand why this GUI needs permission to run INFO on the redis server just to connect.
To Reproduce
Steps to reproduce the behavior:
- Configure ACLs to remove the permission to run
INFOfrom the user you use to connect. In this example I disallow alldangerousandadmincommands. The former includes theINFOcommand.
ACL SETUSER default on >mypassword +@all -@dangerous -@admin
- Try to connect to the server using RESP.app.
- While the actual connection is established the GUI just freezes and after some time I get a pop-up with the message
Cannot connect to server 'localhost 6379'. Check log for details.. I never see any keys. The RESP.app log shows:
Connection: localhost 6379 > connected
Connection: localhost 6379 > [runCommand] AUTH *******
Connection: localhost 6379 > [runCommand] PING
Connection: localhost 6379 > [runCommand] INFO ALL
Connection: Cannot refresh server info: NOPERM this user has no permissions to run the 'info' command
Expected behavior
I can connect to the server and interact normally with the keys. Just not see any server infos. Maybe I'm just missing a setting where I can disable this INFO ALL call?
Environment (please complete the following information):
- OS & version: Ubuntu 20.04
- Redis-Server version: 7.0.5
Reactions are currently unavailable