From 4b63c765226137698eedfe616d20ad9883f9df0a 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. (cherry picked from commit 33da1cbb67fd6a035cbffb69095568af46b8e509) (cherry picked from commit f194a3ce57c928fd4769afc549495464dfec89db) --- 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) => {