Commit 997c1005 by Michael LoTurco Committed by Troy Sankey

improved pseudocode for how course admins will work

parent 4b4432c8
...@@ -1321,9 +1321,9 @@ def seed_rocket_chat(course_key): ...@@ -1321,9 +1321,9 @@ def seed_rocket_chat(course_key):
# course_staff = [] # get_course_staff(course_key) #not a real call, this is pseudo # course_staff = [] # get_course_staff(course_key) #not a real call, this is pseudo
# for user in course_staff: # for user in course_staff:
# rocketWrap.create_user(user.email, user.name, user.password, user.username) # rocketuser = rocketWrap.create_user(user.email, user.name, user.password, user.username)
# rocket.add_staff_users_to_group_as_admin(course_staff) #TODO: right this function # rocketWrap.add_user_to_group(rocketuser.username, newgroup.name, moderator=True)
description = "test" # get_short_description(course_key) #not a real call this is pseudo description = "test" # get_short_description(course_key) #not a real call this is pseudo
rocket.set_topic(newgroup.name, description) rocket.set_topic(newgroup.name, description)
......
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