fix: return 404 for update feeds when update server is disabled (#589) #599
Reference in New Issue
Block a user
Delete Branch "fix/589-feed-disabled-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/updates.xml, etc.) now return 404 when the update server is disabledRepoAssignmentPublicFeedmiddleware checksLicensingEnabledon the effective config (repo → org cascade)Changes
services/context/repo_public_feed.go: ReplaceGetRepoConfigwithGetEffectiveConfig, checkLicensingEnabledbefore allowing accessCloses #589