Skip to content

Permission poll progress#316

Open
ostcar wants to merge 3 commits intoOpenSlides:mainfrom
ostcar:permission_poll_progress
Open

Permission poll progress#316
ostcar wants to merge 3 commits intoOpenSlides:mainfrom
ostcar:permission_poll_progress

Conversation

@ostcar
Copy link
Copy Markdown
Member

@ostcar ostcar commented Sep 12, 2025

This is a proposal for a refactor of the poll permissions.

For a better diff, see: b1caa74

The old system used the permission poll.can_manage only for topic-polls. This proposal renames this to agenda_item.can_manage_polls what is more clear.

The old system used poll.can_see_progress for topic, motion and assignment polls. This means, that it was not possible to give a user only the permission for one of the collections. If we make a distinction for can_manage_pools we should also make a distinction for can_see_progress.

The old system has to problem, that if a user has the permission to create topic polls (poll.can_manage), he also gets the permission to see the progress bar for motion or assignment polls. This was probably not intended.

If you want, we can keep the old system for now, and I only change the permissions on the new-vote-service-branch

- Move poll.can_manage_pools to agenda_item
- Move can_see_progress to each collection
@ostcar
Copy link
Copy Markdown
Member Author

ostcar commented Jan 16, 2026

@rrenkert ping

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