MICROBA-908 | Prevent overlap of allowlist and blocklist [WIP]
[MICROBA-908] - When adding a learner to the allowlist we now check if they have an invalidated certificate on the blocklist - Refactor some pieces of the Certificate Invalidation flow - Make it so an error message is displayed when trying to add someone to CertificateInvalidation list if they already appear on the Allowlist - Add support to pass back and display an error message to Instructor Dashboard UI if a learner already appears on the certificate invalidation list when attempting to create certificate exceptions in bulk - Add python tests for backend changes - Disable xss linting warnings in certificate_bulk_whitelist.js (checked with security group first)
Showing
- lms/djangoapps/instructor/tests/test_api.py 182 additions, 1 deletionlms/djangoapps/instructor/tests/test_api.py
- lms/djangoapps/instructor/tests/test_certificates.py 81 additions, 0 deletionslms/djangoapps/instructor/tests/test_certificates.py
- lms/djangoapps/instructor/views/api.py 93 additions, 38 deletionslms/djangoapps/instructor/views/api.py
- lms/static/js/certificates/views/certificate_bulk_whitelist.js 107 additions, 69 deletions...tatic/js/certificates/views/certificate_bulk_whitelist.js
- lms/static/js/spec/instructor_dashboard/certificates_bulk_exception_spec.js 10 additions, 2 deletions.../instructor_dashboard/certificates_bulk_exception_spec.js
Loading
Please register or sign in to comment