Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fixed incorrect "Has access until.." message #20476

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

allouis
Copy link
Contributor

@allouis allouis commented Jun 27, 2024

ref https://linear.app/tryghost/issue/ENG-642

When a subscription is in the canceled state the corresponding Member has no access to the Ghost site. The only time a Member will continue to have access if their subscription is due to cancel at the period end is if it is still in an active state, which is one of active trialing unpaid or past_due

ref https://linear.app/tryghost/issue/ENG-642

When a subscription is in the `canceled` state the corresponding Member has no access to the Ghost site. The only time a Member will continue to have access if their subscription is due to cancel at the period end is if it is still in an active state, which is one of `active` `trialing` `unpaid` or `past_due`
@github-actions github-actions bot added the affects:admin Anything relating to Ghost Admin label Jun 27, 2024
@allouis
Copy link
Contributor Author

allouis commented Jun 27, 2024

@ronaldlangeveld This might be useful - I haven't tested this, and ideally we would use different properties here, e.g. hasAccess and switch on that instead - but I believe the fix is along these lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant