Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for ACL GETUSER Command #958

Open
kevinmichaelbowersox opened this issue Jan 26, 2025 · 0 comments · May be fixed by #959
Open

Add Support for ACL GETUSER Command #958

kevinmichaelbowersox opened this issue Jan 26, 2025 · 0 comments · May be fixed by #959

Comments

@kevinmichaelbowersox
Copy link
Member

kevinmichaelbowersox commented Jan 26, 2025

Feature request type

sample request

Is your feature request related to a problem? Please describe

Currently Garnet Cache does not support the ACLGETUSER command. This command is used to obtain the ACL rules for a specified user. This command is useful for inspecting individual identities authorized to access the cluster.

Describe the solution you'd like

I would like to be able to issue a command against Garnet in the form of ACL GETUSER {USERNAME}. The command would return details about the specified users ACL in a RESP protocol compliant array with this output:

1) "flags"
2) 1) "on"
3) "passwords"
4) 1) "#**REDACTED**"
5) "commands"
6) "+get +incr"

In the case where the user does not exist the command should return null.

Describe alternatives you've considered

Currently the ACL LIST command is supported. A client interested in this information could parse the response of the list command for similar information about a user's ACL. However, with ACL GETUSER this parsing is not required.

Additional context

I have a forthcoming contribution/PR that implements this command for the team's consideration for inclusion into the project.

@kevinmichaelbowersox kevinmichaelbowersox linked a pull request Jan 26, 2025 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant