Skip to content

Protect restricted status data - #509

Merged
jbrooksuk merged 3 commits into
mainfrom
protect-restricted-status-data-v2
Dec 2, 2026
Merged

jbrooksuk merged 3 commits into
mainfrom
protect-restricted-status-data-v2

Conversation

@jbrooksuk

Copy link
Copy Markdown
Member

Supersedes #454. Carries its publication and component visibility fixes forward onto current main.

  • Restrict unpublished maintenance reads through MCP to schedule managers, and suppress subscriber update emails before publication.
  • Apply component visibility consistently to REST and MCP responses, preserving the current MCP eager loading for tags and status relationships.
  • Add a regression for MCP readers with a read-only token.

Verification: 280 affected Pest tests passed, then the schedule publishing suite passed with the additional regression (11 tests). Pint and git diff --check passed.

jbrooksuk and others added 3 commits December 2, 2026 14:46
Keep future-published maintenance and updates private until their
publication time. Apply component group visibility consistently when
incidents and schedules expose affected components.
Give MCP schedule preview tests the management ability required to access unpublished records when run independently.

Co-authored-by: James Brooks <jbrooksuk@me.com>
Keep unpublished schedules out of both reads for a token without
schedule management access, while published schedules remain listed.

Amp-Thread-ID: https://ampcode.com/threads/T-01a23722-100b-74fc-a96e-f76a146e52cb
Co-authored-by: James Brooks <jbrooksuk@me.com>
@jbrooksuk
jbrooksuk merged commit ed4fe56 into main Dec 2, 2026
23 checks passed
@jbrooksuk
jbrooksuk deleted the protect-restricted-status-data-v2 branch December 2, 2026 15:57
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.

2 participants