You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that we don't have an "elegant" way to check the permissions for the edx-platform endpoints.
We have the decorator and the permission classes, but they are only for the authz rest_api. So the checks in edx-platform are only booleans (they don't manage permission-denied responses).
We will need a way to use this enforcement and manage permission-denied situations.
Currently, this is the only way I know I can use the openedx-authz enforcement in the edx-platform code: openedx/openedx-platform#37501 (but right now we are relying on old code permission-denied managment)
Activity
MaferMazu commentedon Oct 17, 2025
We'll need a more general decorator and permission classes, or we'll need a function that handles permissions better.
MaferMazu commentedon Nov 5, 2025
We are handle it in openedx/openedx-platform#37501