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

Admin-only view progress #458

Open
metsuke0 opened this issue Oct 25, 2022 · 1 comment
Open

Admin-only view progress #458

metsuke0 opened this issue Oct 25, 2022 · 1 comment
Labels
0. Needs Triage Help Wanted Community help wanted Needs Spec Needs further specification to be a good (help wanted) ticket Type/Enhancement New feature or request
Milestone

Comments

@metsuke0
Copy link

I see that in #431 the usernames that voted can be exposed, which is great! However, I was wondering if there could be a flag that kept this information hidden to anyone who is not an admin? My potential use case it using a poll for students to let me know if they are done with an assignment or need help, and I didn't want anyone to feel out of place if they wanted to request help via the poll.

@kaakaa
Copy link
Contributor

kaakaa commented Nov 1, 2022

Thank you for the interesting use case @metsuke0 . Your use case is making sense, but it has some difficulties from the technical side.
If the appearance of a poll is changed depending on whether the user is an admin or not, it need to be implemented as a client-side (webapp) feature (and such a feature has been already implemented as ExperimentaUI). However, hiding some of the information that is originally displayed on the client side means that the server is sending the information to be hidden to the client. So, whether the user is an admin or not, by looking into the data sent from the server, information to be hidden will be visible for every user.

I think a valid approach would be to add a new button (e.g.: "Show voters") that is available only to administrators, and add the ability to return the voter's information as a reply when that button is pressed.

@kaakaa kaakaa added Type/Enhancement New feature or request Help Wanted Community help wanted 0. Needs Triage Needs Spec Needs further specification to be a good (help wanted) ticket labels Nov 1, 2022
@kaakaa kaakaa added this to the Backlog milestone Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs Triage Help Wanted Community help wanted Needs Spec Needs further specification to be a good (help wanted) ticket Type/Enhancement New feature or request
Development

No branches or pull requests

2 participants