openedx / openedx-filters

Open edX filters from the Hooks Extensions Framework
GNU Affero General Public License v3.0
7 stars 14 forks source link

[POC] feat: add filters for roles management (1st approach) #103

Closed mariajgrimaldi closed 8 months ago

mariajgrimaldi commented 11 months ago

Description

This PR adds filters aimed to be used for roles management in the main openedx services. Here's is an example of how they can be used:

They might be triggered by: https://github.com/openedx/edx-platform/compare/master...MJG/roles-refactor-by-filters

And with the following pipeline steps, we can add an additional role implemented in a plugin: https://github.com/mariajgrimaldi/platform-plugin-sample/commit/13a20ac6b4a60b2773734187dd7c8937228a167a

Configured using this Django setting:

OPEN_EDX_FILTERS_CONFIG = {
    "org.openedx.learning.instructor.dashboard.render.started.v1": {
        "fail_silently": False,
        "pipeline": [
            "platform_plugin_sample.extensions.filters.CheckProfessorRole",
        ]
    },
openedx-webhooks commented 11 months ago

Thanks for the pull request, @mariajgrimaldi! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

mphilbrick211 commented 8 months ago

Hi @mariajgrimaldi! Just checking in to see if this is still needed?

mariajgrimaldi commented 8 months ago

@mphilbrick211: thanks for the reminder! I'll close this for the time being