Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore/enterpriseportal: only use 'revoke' verb for licenses#63407

Merged
bobheadxi merged 2 commits into
mainfrom
ep-clarify-license-revocation
Jun 20, 2024
Merged

chore/enterpriseportal: only use 'revoke' verb for licenses#63407
bobheadxi merged 2 commits into
mainfrom
ep-clarify-license-revocation

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

There's a confusing notion of "archived license" that really means "archived subscription", which is problematic because "can an archived subscription, have valid licenses, in a world where revoked licenses exist?"

IMO archiving a subscription should immediately and permanently revoke all its associated licenses, per discussion in https://github.com/sourcegraph/sourcegraph/pull/63330#discussion_r1645333457. This means we can remove all notion of "archived license" - when looking at licenses, they're only revoked, or not revoked.

⚠️ These RPCs are not used anywhere yet so this is a safe breaking change.

Test plan

CI

@bobheadxi bobheadxi requested review from a team, eseliger, pjlast and unknwon June 20, 2024 21:39
@cla-bot cla-bot Bot added the cla-signed label Jun 20, 2024
@bobheadxi bobheadxi merged commit 78622cb into main Jun 20, 2024
@bobheadxi bobheadxi deleted the ep-clarify-license-revocation branch June 20, 2024 23:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants