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

Hide buttons for grading table #3026

Open
GabrielCWT opened this issue Aug 22, 2024 · 1 comment
Open

Hide buttons for grading table #3026

GabrielCWT opened this issue Aug 22, 2024 · 1 comment
Labels
Enhancement New feature request

Comments

@GabrielCWT
Copy link
Contributor

GabrielCWT commented Aug 22, 2024

After some observation, the error messages provided by SA is just the response code e.g. 403. This is causing confusion for Avengers at the start of the semester as the students have not yet been assigned to them and therefore they are unable to unsubmit/unpublish their students' work.

We should be mimicing the permissions on the backend to hide the buttons.
e.g. Unpublish -> Assessment is open: User is admin or user is group leader of student. Assessment is closed: User is admin/staff and submission is their own.

Along with hiding of the buttons, we should not be able to click into/grade submissions which are not part of our group

@GabrielCWT GabrielCWT added the Enhancement New feature request label Aug 22, 2024
@GabrielCWT
Copy link
Contributor Author

Another potential solution which can be done together with this. The toasts which appear should also show the response message from the backend.

@GabrielCWT GabrielCWT changed the title Hide publish/unsubmit buttons for grading table Hide buttons for grading table Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature request
Projects
None yet
Development

No branches or pull requests

1 participant