Commit 119ab639 by Victor Shnayder

make cms users look like staff by default

* so they get the staff view of problems
* does NOT actually set User.is_staff
parent bc14441a
...@@ -215,9 +215,9 @@ def preview_module_system(request, preview_id, descriptor): ...@@ -215,9 +215,9 @@ def preview_module_system(request, preview_id, descriptor):
render_template=render_from_lms, render_template=render_from_lms,
debug=True, debug=True,
replace_urls=replace_urls, replace_urls=replace_urls,
# TODO (vshnayder): CMS users won't see staff view unless they are CMS staff. # TODO (vshnayder): All CMS users get staff view by default
# is that what we want? # is that what we want?
is_staff=request.user.is_staff is_staff=True,
) )
......
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