Solution for PermCheck