Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Election 'Managers' can't manage elections, only creator. #15

Open
JeremiahInMN opened this issue Apr 20, 2014 · 1 comment
Open

Election 'Managers' can't manage elections, only creator. #15

JeremiahInMN opened this issue Apr 20, 2014 · 1 comment

Comments

@JeremiahInMN
Copy link

Perhaps I'm not understanding what the Managers are supposed to do. My assumption is that they should be able to edit an election, add voters, etc... Currently only the election.created_by is able to manage their own elections. Also, currently any user that is auth.user and auth.user.is_manager can see the start page for any election in the system by just modifying the url. I would think this would be a security issue as only Managers and Voters should be able to see the contents of a ballot on any election.

@JeremiahInMN
Copy link
Author

PS.... Elections page only shows elections you created, not that you are set as Manager for. Tried to fix this but not able to figure out the query. Was thinking something like elections = db(auth.user.email in db.election.managers).select(orderby=~db.election.created_on) but that's not it.

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

No branches or pull requests

1 participant