refactor(api): remove premium gating and remote license verification#3
Closed
Aditya-Rai-25 wants to merge 1 commit into
Closed
refactor(api): remove premium gating and remote license verification#3Aditya-Rai-25 wants to merge 1 commit into
Aditya-Rai-25 wants to merge 1 commit into
Conversation
55da996 to
9e046e2
Compare
…fication - Remove License.premium? checks across controllers, GraphQL resolvers, services, jobs, and seeds - Remove org-level premium integration paywall blocks (premium_integration_missing / feature_unavailable) - Add data-api forecast fallback to avoid 500s when data-api is not running - Remove billing-entity limits and other premium-only attribute gates (timezone/email settings/grace period, receipts, from-email) - Stop boot-time license verification network call and make license logic local-only
9e046e2 to
2020ea9
Compare
njonty
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue no: #4
This PR refactors the Lago API to remove premium/license gating and remote license verification dependencies.
Changes include:
License.premium?checks across controllers, GraphQL resolvers, services, jobs, and seedsThis prepares the Lago API base for Mango Cloud billing integration and allows required billing, invoice, forecast, and email workflows to function without premium restrictions.