Stop auto-activating HubEE subscriptions, use the datapass scope - #309
Open
Un3x wants to merge 4 commits into
Open
Stop auto-activating HubEE subscriptions, use the datapass scope#309Un3x wants to merge 4 commits into
Un3x wants to merge 4 commits into
Conversation
skelz0r
reviewed
Jul 29, 2026
skelz0r
left a comment
Member
There was a problem hiding this comment.
Le code est OK.
Par contre, comment est notifié l'équipe HubEE in-fine ? Il sont développer un système automatique ou on doit le faire ?
damienlethiec
left a comment
There was a problem hiding this comment.
Un commentaire mais sinon looks good to me
Subscription provisioning only needs to create subscriptions; admin rights were granted solely to allow auto-activation, which is going away.
Activation becomes a manual step for the services instructeurs, like every other OSL; FQF volume is low enough that automation isn't worth holding admin-level credentials.
delegationActor was only sent through the activation request; with activation now manual, the instructeur configures the delegation in HubEE and the INSEE lookup for the editor organization is dead weight.
find_or_create_inactive_subscription was only a seam for bolting activation on top; the shared fixtures also claimed subscriptions come back Actif, a state this app can no longer produce.
Un3x
force-pushed
the
feature/api-7125-fqf-retirer-lactivation-auto-des-abonnements-hubee-et-le
branch
from
July 29, 2026 15:19
ef7e315 to
7bc729a
Compare
Contributor
Author
Pour le moment le process est à définir. Après, plein de solution possible et envisageable mais elles sont à définir. |
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.
The DataPass webhook now only creates HubEE subscriptions (status Inactif) with a datapass-scoped token; activation and editor delegation become manual steps for the services instructeurs.
Companion PR: etalab/formulaire-qf#367
Closes API-7125 → https://linear.app/pole-api/issue/API-7125/fqf-retirer-lactivation-auto-des-abonnements-hubee-et-le-scope-admin