OpenSlides / openslides-voting

Voting plugin for OpenSlides 2.x
MIT License
5 stars 4 forks source link

Improvements #60

Closed FinnStutzenstein closed 6 years ago

FinnStutzenstein commented 6 years ago

If this is ok, I will squash the commits together and merge. These are just stylistic changes.

FinnStutzenstein commented 6 years ago

@jwinzer Please test. The most of the commits are little stuff. The main changes are: two new config options to disable subsystems of the voting plugin. Added the can_vote permission. All users who have this permission can vote now.

jwinzer commented 6 years ago

I haven't tested the changes. However, I prefer to have these configs:

I'm not sure though how well these can be separated.

FinnStutzenstein commented 6 years ago

So moving the proxy part to the absentee votes? Ok for me, I'll check this

jwinzer commented 6 years ago

Yes, but name should be voting_enable_proxies. Label can be "Enable proxies and absentee votes". The other label can be "Enable voting principles and shares"

FinnStutzenstein commented 6 years ago

Done.