We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4cd55 commit d586651Copy full SHA for d586651
openedx/core/djangoapps/content_libraries/permissions.py
@@ -127,7 +127,6 @@ class HasPermissionInContentLibraryScope(Rule):
127
>>> library = ContentLibrary.objects.get(org__short_name='DemoX', slug='CSPROB')
128
>>> if perms['libraries.view_library'].check(request.user, library):
129
... # User can view this specific library
130
- ... return render_library(library)
131
132
Note:
133
The library keys in authorization scopes must have the format 'lib:ORG:SLUG'
0 commit comments