Skip to content

Commit d586651

Browse files
docs: update current docstrings
1 parent ee4cd55 commit d586651

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openedx/core/djangoapps/content_libraries/permissions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class HasPermissionInContentLibraryScope(Rule):
127127
>>> library = ContentLibrary.objects.get(org__short_name='DemoX', slug='CSPROB')
128128
>>> if perms['libraries.view_library'].check(request.user, library):
129129
... # User can view this specific library
130-
... return render_library(library)
131130
132131
Note:
133132
The library keys in authorization scopes must have the format 'lib:ORG:SLUG'

0 commit comments

Comments
 (0)