Skip to content

Task - Add the courses.view_certificates permission #329

Closed
3 of 3 issues completed
Closed

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.

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. changed the title [-]Fix certificate enforcement point in edx-platform[/-] [+]Task - Change certificate enforcement point in edx-platform[/+] on Jun 5, 2026
  2. BryanttV commented on Aug 4, 2026

    @BryanttV
    Contributor

    This was validated with @gviedma-aulasneo, and it was decided to create a new permission (courses.view_certificates).

    This requires changes in:

    • openedx-authz: Create the new permission, add it to the corresponding roles, and update the documentation.
    • openedx-platform: Enforce the new permission on the applicable endpoints.
    • frontend-app-admin-console: Add the new permission to the roles and permissions matrix.
  3. moved this to Ready for Development in RBAC AuthZ Boardon Aug 4, 2026
  4. 4 remaining items

  5. moved this from In Progress to Done in RBAC AuthZ Boardon Aug 18, 2026
  6. moved this from Done to In Progress in RBAC AuthZ Boardon Aug 18, 2026
  7. BryanttV commented on Aug 18, 2026

    @BryanttV
    Contributor

    openedx-authz PR merged!

    Pending changes in openedx-platform and frontend-app-admin-console

  8. changed the title [-]Task - Change certificate enforcement point in edx-platform[/-] [+]Task - Add the `courses.view_certificates` permission[/+] on Aug 18, 2026
  9. added a commit that references this issue on Aug 20, 2026
    e68de69
  10. moved this from In Progress to No status in RBAC AuthZ Boardon Aug 20, 2026
  11. closed this as completedby moving to Done in RBAC AuthZ Boardon Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions