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
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