Skip to content
Snippets Groups Projects
Commit 262a49a6 authored by Bridger Maxwell's avatar Bridger Maxwell
Browse files

Permissions on root article no longer allow students to edit it.

parent 48e9dc80
No related branches found
No related tags found
No related merge requests found
......@@ -116,5 +116,13 @@ def get_or_create_root():
root = URLPath.create_root(title="edX Wiki",
content=starting_content)
article = root.article
article.group = None
article.group_read = True
article.group_write = False
article.other_read = True
article.other_write = False
article.save()
return root
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