From cf2a0db8003ca37d319499ced553d9f1ec6d8814 Mon Sep 17 00:00:00 2001 From: 0x29a Date: Sun, 13 Aug 2023 09:54:06 +0200 Subject: [PATCH] fix: add eshe_instructor to allowedRoles eSHE Instructors can't view the gradebook without this. --- src/data/thunkActions/roles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/thunkActions/roles.js b/src/data/thunkActions/roles.js index 84777c57..9edb29dc 100644 --- a/src/data/thunkActions/roles.js +++ b/src/data/thunkActions/roles.js @@ -10,7 +10,7 @@ import { fetchGrades } from './grades'; import { fetchTracks } from './tracks'; import { fetchAssignmentTypes } from './assignmentTypes'; -export const allowedRoles = ['staff', 'instructor', 'support']; +export const allowedRoles = ['staff', 'instructor', 'eshe_instructor', 'support']; export const fetchRoles = () => ( (dispatch, getState) => {