Commit 262a49a6 by Bridger Maxwell

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

parent 48e9dc80
...@@ -116,5 +116,13 @@ def get_or_create_root(): ...@@ -116,5 +116,13 @@ def get_or_create_root():
root = URLPath.create_root(title="edX Wiki", root = URLPath.create_root(title="edX Wiki",
content=starting_content) 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 return root
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment