Skip to content

fix(vote): let members list vote categories once results are published - #391

Merged
sabinem merged 2 commits into
release/0.12from
hotfix/voting-results
Oct 28, 2026
Merged

sabinem merged 2 commits into
release/0.12from
hotfix/voting-results

Conversation

@sabinem

@sabinem sabinem commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

ListVoteCategories required vote_category:read, which members only get from the voting capability. Turning voting off to publish results left participants unable to list the categories the results page needs, and the page answered with a 500. Accept vote_result:read as well.

Solves #390

ListVoteCategories required vote_category:read, which members only get
from the voting capability. Turning voting off to publish results left
participants unable to list the categories the results page needs, and
the page answered with a 500. Accept vote_result:read as well.
@sabinem
sabinem changed the base branch from main to release/0.12 October 28, 2026 15:38

@marftn marftn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sabinem the PR looks good. I only left a suggestion for one of the comments. I approved the PR, so if you agree with my suggestion you can apply it and merge the PR. If not you can merge right away 😁

Comment thread components/backend/internal/service/vote_service.go Outdated
Co-authored-by: Martin Fontanet <11040743+marftn@users.noreply.github.com>
@sabinem
sabinem merged commit 4555378 into release/0.12 Oct 28, 2026
4 checks passed
@sabinem
sabinem deleted the hotfix/voting-results branch October 28, 2026 19:32
sabinem added a commit that referenced this pull request Oct 29, 2026
#391) (#394)

* fix(vote): let members list vote categories once results are published

ListVoteCategories required vote_category:read, which members only get
from the voting capability. Turning voting off to publish results left
participants unable to list the categories the results page needs, and
the page answered with a 500. Accept vote_result:read as well.

* Update components/backend/internal/service/vote_service.go



---------

Co-authored-by: Sabine Maennel <5292683+sabinem@users.noreply.github.com>
Co-authored-by: Martin Fontanet <11040743+marftn@users.noreply.github.com>
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