TechnologyEnhancedLearning / DLSV2

Progressive refactor of the Digital Learning Solutions web apps to .Net Core tech stack
MIT License
5 stars 1 forks source link

TD-4884 Prevent supervisors from viewing/reviewing self assessments in a category that doesn't match their own #2942

Closed sherif-olaboye closed 2 weeks ago

sherif-olaboye commented 3 weeks ago

JIRA link

https://hee-tis.atlassian.net/browse/TD-4884

Description

I modified the GetSelfAssessmentByCandidateAssessmentId method query by adding to the where condition when the adminCategoryId is zero (i.e) when AdminCategoryId is 0, the records should filter accordingly

Screenshots

image


Developer checks

(Leave tasks unticked if they haven't been appropriate for your ticket.)

I have: