Enforce ST Deploy Center storage quotas in Drive - #177
Merged
Conversation
Document the idempotent ST bootstrap and wire the demo siret claim.
Normalize integer-valued quota metrics returned by Deploy Center.
Preserve trusted quota denial codes for root uploads and show the matching reason from the explorer import gate.
Keep organization lock state for zero quotas, preserve trusted retry codes, and retain trusted entitlement messages in the import guard.
Document the GitHub Issues routing, triage labels, and domain context. Keep ST Deploy Center changes local and upstream-ticket ready.
Keep tests deterministic when local development stores extra OIDC claims.
Declare the demo SIRET as a managed Keycloak user-profile attribute. Keycloak 26 can then include it in Drive tokens.
This was referenced Aug 2, 2026
Apoze
marked this pull request as ready for review
August 2, 2026 19:35
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.
Summary
Why
Drive needs to consume the quotas administered in ST Deploy Center, show the
applicable state to users, and keep the backend authoritative when an upload is
not allowed.
Tracks #169, #170, #171, #172,
#173, and #174.
Validation
the personal-quota message; 1 MB organization limit locked storage and
blocked import with the organization-quota message; both demo quotas restored
passed in isolation, and the complete rerun passed
Notes
is added or logged