Skip to content

fix(admissions): support public metadata on restricted server networks - #66

Merged
mustafazeydani merged 2 commits into
mainfrom
fix/admissions-runtime-metadata
Oct 3, 2026
Merged

mustafazeydani merged 2 commits into
mainfrom
fix/admissions-runtime-metadata

Conversation

@mustafazeydani

Copy link
Copy Markdown
Member

The provider accepts browser/app requests from visitor connections but rejects metadata requests from the production host. Allow a private runtime snapshot of the public governorate/curriculum lists, validated for the fixed exam year and complete coverage, so metadata access cannot prevent the browser-based result lookup.

Student results still come directly from the visitor's browser. Ticket, challenge, decryption and rate-limit checks are unchanged. The snapshot and collection procedure stay outside the repository.

Validation: type checks and 10 lookup tests, including complete/wrong-year/duplicate/missing snapshot cases. CI also runs the admissions suite, production build, standalone discovery/SEO checks and dependency audit.

@mustafazeydani
mustafazeydani merged commit 500d416 into main Oct 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant