Update view option visibility
Update the visibility for the view section in create discussion to only display it if the user have a 'can moderate' permission and not based on the role closes VICE-5025 flag=discussion_default_sort,discussion_default_expand Test plan: - In the new discussion based on the permission display the view settings - (in default) as a teacher should see it - a student shouldn't - mascareding a student should show it - clicking on the view as student on discussion page, the options should be also hidden Change-Id: Iee699323766745e5698576e9271a5396ccc359fa Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/370181 Tested-by:Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by:
Theo Sorriaux <theo.sorriaux@instructure.com> QA-Review: Roland Beres <roland.beres@instructure.com> Product-Review: Balint Kartyas <balint.kartyas@instructure.com>
Please register or sign in to comment