diff --git a/forecast/templates/forecast/edit/edit.html b/forecast/templates/forecast/edit/edit.html
index 8b43b6999..473420652 100644
--- a/forecast/templates/forecast/edit/edit.html
+++ b/forecast/templates/forecast/edit/edit.html
@@ -1,4 +1,5 @@
{% extends "forecast/edit/forecast_base.html" %}
+{% load payroll_permissions %}
{% load util vite %}
{% load breadcrumbs %}
@@ -41,6 +42,7 @@
{% endblock %}
{% block scripts %}
{{ view.get_payroll_forecast_report|json_script:'payroll_forecast_data' }}
+ {% can_edit_payroll user as can_edit_payroll %}
{% vite_dev_client %}
{% vite_js 'src/index.jsx' %}
diff --git a/forecast/views/edit_forecast.py b/forecast/views/edit_forecast.py
index 2d5663b3a..fd2c8d392 100644
--- a/forecast/views/edit_forecast.py
+++ b/forecast/views/edit_forecast.py
@@ -528,7 +528,6 @@ def get_context_data(self, **kwargs):
context["forecast_dump"] = forecast_dump
context["actuals"] = actual_data
context["period_display"] = period_display
- context["can_toggle_payroll"] = self.request.user.is_superuser
return context
diff --git a/front_end/src/Components/EditForecast/index.jsx b/front_end/src/Components/EditForecast/index.jsx
index ca82c1c0c..908fb343b 100644
--- a/front_end/src/Components/EditForecast/index.jsx
+++ b/front_end/src/Components/EditForecast/index.jsx
@@ -325,7 +325,7 @@ function EditForecast() {
return (
- {window.can_toggle_payroll === "True" && }
+ {window.can_edit_payroll === "True" && }
{errorMessage != null &&