Description
Similar to #328, right now, if you don't have courses.manage_certificates, you can't see the certificates at all, and the idea is for them to be read-only to comply with #283.
We want to modify https://github.com/openedx/openedx-platform/blob/ff0690f6c8768158dd07ab6a43e88e8695798283/cms/djangoapps/contentstore/rest_api/v1/views/certificates.py#L38 to get information on whether I have a course role in that course, probably via the JSON, and whether I have permission to manage the certificates, so the frontend can use that info to restrict the view.
Acceptance criteria
PR merged that allows getting over certificates if the person has a role in the course, and checks whether the person has the manage certificates (write) role.
Description
Similar to #328, right now, if you don't have
courses.manage_certificates, you can't see the certificates at all, and the idea is for them to be read-only to comply with #283.We want to modify https://github.com/openedx/openedx-platform/blob/ff0690f6c8768158dd07ab6a43e88e8695798283/cms/djangoapps/contentstore/rest_api/v1/views/certificates.py#L38 to get information on whether I have a course role in that course, probably via the JSON, and whether I have permission to manage the certificates, so the frontend can use that info to restrict the view.
Acceptance criteria
PR merged that allows getting over certificates if the person has a role in the course, and checks whether the person has the manage certificates (write) role.