Commit ad02896
committed
restrict api discussion updates for group discussions
test plan:
* create a group set with a group
* create a group discussion for the group set
* in two separate tabs, open the discussion edit page
for the root discussion topic (on the course)
and the edit page for the group level discussion topic
* make a change to the root topic (like
"users must post before seeing replies" / require_initial_post)
* without refreshing, save the group topic as well
* view the the group topic in the API
(/api/v1/groups/X/discussion_topics/Y)
* the "require_initial_post" setting should be the same
as the root
closes #CNVS-34462
Change-Id: Id8629bc87b60ea8ea86c3148187890a985c0fc15
Reviewed-on: https://gerrit.instructure.com/101126
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams <jamesw@instructure.com>1 parent 139fcc1 commit ad02896
2 files changed
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
906 | 910 | | |
907 | 911 | | |
908 | | - | |
909 | | - | |
| 912 | + | |
910 | 913 | | |
911 | 914 | | |
912 | 915 | | |
| |||
915 | 918 | | |
916 | 919 | | |
917 | 920 | | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
918 | 924 | | |
919 | 925 | | |
920 | 926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
642 | 656 | | |
643 | 657 | | |
644 | 658 | | |
| |||
0 commit comments