Skip to content

Hide buttons for grading table #3026

Open
@GabrielCWT

Description

@GabrielCWT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions