Access denied unexpectedly when using Redis
-
I’m seeing unexpected behavior for a custom role created by our theme and extended by AAM in combination with object cache by Redis. Users with this role (and no user access customization) are blocked from accessing the admin area when attempting to log in. This occurs sporadically. When users are able to log in as this user role, they are blocked from publishing posts. Clearing the AAM object cache seems to clear the issue temporarily. Disabling object cache entirely appears to resolve the issue entirely.
To me, this feels like the object cache is holding on to access rules for different users and serving them to the wrong user during capabilities checks.
I’m using the free version of AAM 5.7.1 along with Redis 3.1.6, Predis 1.1.1, PHP 7.2. I’m using the Redis Object Cache plugin version 1.4.1.
- The topic ‘Access denied unexpectedly when using Redis’ is closed to new replies.