Skip to content

feat(command): add ACL commands, validate module categories exist #3262

New issue

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

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

Already on GitHub? # to your account

Merged
merged 8 commits into from
Feb 5, 2025

Conversation

ndyakov
Copy link
Member

@ndyakov ndyakov commented Feb 4, 2025

  • Add ACL SETUSER and ACL DELUSER
  • Add ACL CAT (ACLCat and ACLCatWithArgs for ACL CAT [category])
  • Validate categories for modules exist in the output of cat for redis >=8
  • Validate different acl for both commands and categories work for modules

@ndyakov ndyakov force-pushed the ndyakov/acl-redis-8 branch from d5cea4e to c609df4 Compare February 4, 2025 14:11
@ndyakov ndyakov changed the title Ndyakov/acl redis 8 feat: add ACL commands, validate module categories exist Feb 4, 2025
@ndyakov ndyakov requested a review from vladvildanov February 4, 2025 18:32
@ndyakov ndyakov marked this pull request as ready for review February 4, 2025 18:35
@ndyakov ndyakov changed the title feat: add ACL commands, validate module categories exist feat(command): add ACL commands, validate module categories exist Feb 4, 2025
@ndyakov ndyakov requested a review from ofekshenawa February 5, 2025 08:04
Copy link
Collaborator

@ofekshenawa ofekshenawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a small comment. Also, since you separated the ACL command tests, it might be best to move the remaining ACL command tests from commands_test to acl_commands_test for consistency

@ndyakov ndyakov force-pushed the ndyakov/acl-redis-8 branch from 451c64a to 555f384 Compare February 5, 2025 09:53
@ndyakov ndyakov merged commit 0b34b19 into master Feb 5, 2025
15 checks passed
@ndyakov ndyakov deleted the ndyakov/acl-redis-8 branch February 7, 2025 09:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants