From aa3e4a9a3e7afbef2c257a9041421041289c6fb3 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 6e96a5c0..760a3fbe 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', 'limited_staff', 'instructor', 'support']; +export const allowedRoles = ['staff', 'limited_staff', 'instructor', 'eshe_instructor', 'support']; export const fetchRoles = () => ( (dispatch, getState) => {