Commit 6225f4d0 by Calen Pennington

Merge remote-tracking branch 'edx/master' into ok-merge-from-master

Conflicts:
	lms/djangoapps/courseware/module_render.py
parents 9feff628 23455042
......@@ -506,7 +506,12 @@ def get_module_system_for_user(user, field_data_cache,
make_psychometrics_data_update_handler(course_id, user, descriptor.location)
)
<<<<<<< HEAD
system.set(u'user_is_staff', has_access(user, u'staff', descriptor.location, course_id))
=======
system.set(u'user_is_staff', has_access(user, descriptor.location, u'staff', course_id))
system.set(u'user_is_admin', has_access(user, 'global', 'staff'))
>>>>>>> edx/master
# make an ErrorDescriptor -- assuming that the descriptor's system is ok
if has_access(user, u'staff', descriptor.location, course_id):
......
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