Skip to content

Support ACL for Sentinel Mode#7888

Merged
oranagra merged 6 commits intoredis:unstablefrom
hwware:sentinel_acl
Oct 19, 2020
Merged

Support ACL for Sentinel Mode#7888
oranagra merged 6 commits intoredis:unstablefrom
hwware:sentinel_acl

Conversation

@hwware
Copy link
Contributor

@hwware hwware commented Oct 6, 2020

This commit implements ACL for Sentinel mode, main work of this PR includes:

  1. Update Sentinel command table in order to better support ACLs.
  2. Fix couple of things which currently blocks the support for ACL on sentinel mode.
  3. Provide "sentinel sentinel-user" and "sentinel sentinel-pass " configuration in order to let sentinel authenticate with a specific user in other sentinels.

this should Fix:#7708

@hwware hwware force-pushed the sentinel_acl branch 2 times, most recently from ba87e7b to d7b8405 Compare October 6, 2020 14:11
@oranagra oranagra linked an issue Oct 7, 2020 that may be closed by this pull request
@oranagra
Copy link
Member

oranagra commented Oct 7, 2020

@redis/core-team please at least have a quick look and approve the concept / feature (even if you can't afford review the code yet)

@yossigo
Copy link
Collaborator

yossigo commented Oct 11, 2020

Looks good to me.

oranagra
oranagra previously approved these changes Oct 11, 2020
@oranagra oranagra requested a review from a team October 11, 2020 11:32
@itamarhaber itamarhaber added the state:needs-doc-pr requires a PR to redis-doc repository label Oct 11, 2020
itamarhaber
itamarhaber previously approved these changes Oct 11, 2020
Copy link
Member

@itamarhaber itamarhaber left a comment

Choose a reason for hiding this comment

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

@oranagra oranagra added the state:major-decision Requires core team consensus label Oct 11, 2020
yossigo
yossigo previously approved these changes Oct 11, 2020
@oranagra oranagra added the state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten label Oct 12, 2020
@oranagra
Copy link
Member

@hwware can you prepare a PR to update the docs?
@madolson @soloestoy anything to say before we merge this?

@hwware
Copy link
Contributor Author

hwware commented Oct 13, 2020

@oranagra @itamarhaber thanks Oran,Itamar, please see the following doc pr redis/redis-doc#1417. Please review. thanks

madolson
madolson previously approved these changes Oct 16, 2020
@oranagra oranagra added the release-notes indication that this issue needs to be mentioned in the release notes label Oct 16, 2020
@hwware hwware dismissed stale reviews from madolson, yossigo, itamarhaber, and oranagra via b64b4b0 October 16, 2020 18:48
@oranagra
Copy link
Member

@hwware please have a look at the commits i added and let me know if they're ok.

@hwware
Copy link
Contributor Author

hwware commented Oct 19, 2020

hi @oranagra , these three changes looks good to me. I think we can merge this now. Please also review the redis/redis-doc#1417 pr and let me know if we need to do more changes on the doc.. Thanks!

@oranagra oranagra merged commit 0047702 into redis:unstable Oct 19, 2020
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
This commit implements ACL for Sentinel mode, main work of this PR includes:

- Update Sentinel command table in order to better support ACLs.
- Fix couple of things which currently blocks the support for ACL on sentinel mode.
- Provide "sentinel sentinel-user" and "sentinel sentinel-pass " configuration in order to let sentinel authenticate with a specific user in other sentinels.
- requirepass is kept just for compatibility with old config files

Co-authored-by: Oran Agra <[email protected]>
@hwware hwware deleted the sentinel_acl branch November 6, 2020 20:30
@oranagra oranagra mentioned this pull request Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes state:major-decision Requires core team consensus state:needs-doc-pr requires a PR to redis-doc repository state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sentinel should support ACLs

5 participants