Skip to content

Add coalition stats and platform-admin PSI export - #1098

Merged
idormenco merged 1 commit into
mainfrom
feature/platform-admin-psi-coalition-stats
Sep 30, 2026
Merged

idormenco merged 1 commit into
mainfrom
feature/platform-admin-psi-coalition-stats

Conversation

@idormenco

Copy link
Copy Markdown
Contributor

Made with Cursor

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
votemonitor Error Error Sep 30, 2026 6:12pm UTC

Request Review

@idormenco
idormenco merged commit 9bdaa88 into main Sep 30, 2026
3 of 4 checks passed
@idormenco
idormenco deleted the feature/platform-admin-psi-coalition-stats branch September 30, 2026 18:12
Comment on lines +61 to +68
if (req.ExportedDataType == ExportedDataType.PollingStationInformation)
{
if (!userRoleProvider.IsPlatformAdmin())
{
AddError(x => x.ExportedDataType, "Only platform admins can export this type of data");
return new ProblemDetails(ValidationFailures);
}
}
Comment on lines +40 to +46
foreach (var answer in submission.Answers)
{
if (_answerWriters.TryGetValue(answer.QuestionId, out var writer))
{
writer.WithSubmission(submission.SubmissionId, answer);
}
}

This branch had an error being deployed

1 failed deployment
Preview — ca2cfd4b Deployed Sep 30, 2026 by vercel[bot]
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