data-govt-nz / ckanext-security

A CKAN extension to hold various security improvements for CKAN
GNU Affero General Public License v3.0
25 stars 31 forks source link

Is it possible to include the username in redis connection? #75

Open Team1-epat opened 4 months ago

Team1-epat commented 4 months ago

Hi,

I wonder is it possible to provide the redis username when constructing the self.client inside the RedisClient class? In redis, i have disabled the default account due to some requirement from my end.

https://github.com/data-govt-nz/ckanext-security/blob/master/ckanext/security/cache/clients.py#L14

Thank you.