Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81381

Support Redis users in caching plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3
    • Caching
    • MOODLE_403_STABLE

      Hello!

      Redis has support for simple user-based ACLs for quite some time now:

      https://redis.io/docs/management/security/acl/

      The support for this is also built into PHPRedis:

      https://github.com/phpredis/phpredis#auth

      Currently, the caching plugin only allows using a password for login, which causes Redis to authenticate the "default" built-in user in the background:

      https://git.in.moodle.com/moodle/moodle/-/blob/main/cache/stores/redis/lib.php#L274

      Would it be possible to expose a "username" parameter as well?

            Unassigned Unassigned
            ivayloivanovoeamtc Ivaylo Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.