CORE-3742: First attempt at a fix for permissions listing.