Updated permission check for published status and versionread policy.