ff92ddcdcd
Previously, direct share options appeared for users with manage_content rights in a course. This commit gives direct share options to users with read_as_admin rights, so any teacher, TA, or designer can direct share content, even if a course is concluded. flag=none Fixes LS-1409 Test plan: - Enable direct share on account - Create a term where "teachers can access from" is concluded - Add course to term - In the course as a teacher, verify that direct share functions from the following locations (also expect most other menu items to not appear): - Modules - Pages index and individual - Discussions index and individual - Assignments index and individual - Quizzes index and individual - Modify term settings to allow access for teachers always - Teachers should now see all menu items in above locations, including direct share - Students should never see any menu options in above locations - Disable direct share for account; verify that menus in above locations still function Change-Id: I53b09ed0c535079ab4e811d58de18ab1ef7f6d3a Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248214 Reviewed-by: Jeremy Stanley <jeremy@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Robin Kuss <rkuss@instructure.com> Product-Review: Jackson Howe <jackson.howe@instructure.com> |
||
---|---|---|
.. | ||
components | ||
reducers | ||
actions.js | ||
apiClient.js | ||
index.js | ||
propTypes.js | ||
rootReducer.js | ||
store.js | ||
utils.js |