Skip to content
Snippets Groups Projects
Unverified Commit 1c67d617 authored by David Ormsbee's avatar David Ormsbee Committed by GitHub
Browse files

Merge pull request #22385 from eduNEXT/lmm/publicaccess

Do not hide all the elements of the units with graded problems to anonymous users
parents 97f65ae5 73c6a90b
No related branches found
No related tags found
No related merge requests found
......@@ -520,13 +520,6 @@ class SequenceModule(SequenceFields, ProctoringFields, XModule):
item_type = item.get_icon_class()
usage_id = item.scope_ids.usage_id
if item_type == 'problem' and not is_user_authenticated:
log.info(
'Problem [%s] was not rendered because anonymous access is not allowed for graded content',
usage_id
)
continue
show_bookmark_button = False
is_bookmarked = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment