diff --git a/templates/config.html b/templates/config.html index c3474fc..ba31b02 100644 --- a/templates/config.html +++ b/templates/config.html @@ -11,7 +11,7 @@

Company Work Policies (Read-only)

These policies are set by your administrator and apply to all employees. - {% if g.user.role == Role.ADMIN %} + {% if g.user.role == Role.ADMIN or g.user.role == Role.SYSTEM_ADMIN %} Click here to modify these settings. {% endif %}

diff --git a/templates/dashboard.html b/templates/dashboard.html index 2d778ef..4ad3f4f 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -3,7 +3,7 @@ {% block content %}

- {% if g.user.role == Role.ADMIN %} + {% if g.user.role == Role.ADMIN or g.user.role == Role.SYSTEM_ADMIN %} Admin Dashboard {% elif g.user.role == Role.SUPERVISOR %} Supervisor Dashboard @@ -39,7 +39,7 @@

- {% if g.user.role == Role.ADMIN %} + {% if g.user.role == Role.ADMIN or g.user.role == Role.SYSTEM_ADMIN %}

System Overview

@@ -90,7 +90,7 @@ {% endif %} - {% if g.user.role in [Role.TEAM_LEADER, Role.SUPERVISOR, Role.ADMIN] %} + {% if g.user.role in [Role.TEAM_LEADER, Role.SUPERVISOR, Role.ADMIN, Role.SYSTEM_ADMIN] %}

Team Management

@@ -107,7 +107,7 @@
- {% if g.user.role == Role.ADMIN %} + {% if g.user.role == Role.ADMIN or g.user.role == Role.SYSTEM_ADMIN %}

Team Configuration

Create and manage team structures.

diff --git a/templates/layout.html b/templates/layout.html index aec34b5..cd3228e 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -44,7 +44,7 @@
  • 📊Analytics
  • - {% if g.user.role == Role.ADMIN %} + {% if g.user.role == Role.ADMIN or g.user.role == Role.SYSTEM_ADMIN %}
  • 👤Profile
  • ⚙️Config