1. 12 Feb, 2019 1 commit
    • zhaozhao.zz's avatar
      ACL: add masteruser configuration for replication · ea9d3aef
      zhaozhao.zz authored
      In mostly production environment, normal user's behavior should be
      limited.
      
      Now in redis ACL mechanism we can do it like that:
      
          user default on +@all ~* -@dangerous nopass
          user admin on +@all ~* >someSeriousPassword
      
      Then the default normal user can not execute dangerous commands like
      FLUSHALL/KEYS.
      
      But some admin commands are in dangerous category too like PSYNC,
      and the configurations above will forbid replica from sync with master.
      
      Finally I think we could add a new configuration for replication,
      it is masteruser option, like this:
      
          masteruser admin
          masterauth someSeriousPassword
      
      Then replica will try AUTH admin someSeriousPassword and get privilege
      to execute PSYNC. If masteruser is NULL, replica would AUTH with only
      masterauth like before.
      ea9d3aef
  2. 07 Feb, 2019 1 commit
  3. 05 Feb, 2019 1 commit
  4. 04 Feb, 2019 4 commits
  5. 31 Jan, 2019 1 commit
  6. 23 Jan, 2019 3 commits
  7. 22 Jan, 2019 1 commit
  8. 21 Jan, 2019 1 commit
  9. 18 Jan, 2019 1 commit
  10. 17 Jan, 2019 1 commit
  11. 16 Jan, 2019 1 commit
  12. 15 Jan, 2019 3 commits
  13. 14 Jan, 2019 3 commits
  14. 11 Jan, 2019 1 commit
  15. 10 Jan, 2019 4 commits
  16. 09 Jan, 2019 13 commits