Skip to content

refactor(api): remove premium gating and remote license verification#3

Closed
Aditya-Rai-25 wants to merge 1 commit into
mainfrom
fix_premium_feature
Closed

refactor(api): remove premium gating and remote license verification#3
Aditya-Rai-25 wants to merge 1 commit into
mainfrom
fix_premium_feature

Conversation

@Aditya-Rai-25

@Aditya-Rai-25 Aditya-Rai-25 commented May 19, 2026

Copy link
Copy Markdown
Collaborator

Issue no: #4

This PR refactors the Lago API to remove premium/license gating and remote license verification dependencies.

Changes include:

  • removed License.premium? checks across controllers, GraphQL resolvers, services, jobs, and seeds
  • removed org-level premium integration paywall restrictions
  • added forecast fallback when data-api is unavailable to avoid 500 errors
  • removed billing entity limits and premium-only attribute restrictions
  • removed boot-time remote license verification network calls
  • updated licensing flow to operate locally without external verification dependencies

This prepares the Lago API base for Mango Cloud billing integration and allows required billing, invoice, forecast, and email workflows to function without premium restrictions.

@Aditya-Rai-25 Aditya-Rai-25 force-pushed the fix_premium_feature branch from 55da996 to 9e046e2 Compare May 19, 2026 09:44
@njonty njonty self-requested a review May 19, 2026 12:02
@njonty njonty added the enhancement New feature or request label May 19, 2026
…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
@Aditya-Rai-25 Aditya-Rai-25 force-pushed the fix_premium_feature branch from 9e046e2 to 2020ea9 Compare May 19, 2026 12:12
@njonty njonty closed this May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Remove Premium License Gating and Remote License Verification

2 participants