Fixes role management for private pages.