Lukas W.
Well-known member
- Affected version
- 2.2.0
As per title, running
cacheNodePermissions() does not affect the already loaded PermissionSet on the user object, hence voiding the usefulness of this method. Instead need to call $user->PermissionSet->cacheAllContentPerms('node');, which doesn't allow to pre-cache only a subset.