Skip to content

Task - Change certificate enforcement point in edx-platform #329

@MaferMazu

Description

@MaferMazu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions