Added hasBlockPermission