Improve error handling for director role access

Fix an issue where users with the director role encounter an error when accessing certain functionalities, while admin roles function correctly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6e25cf99-6627-4391-aa4b-689f0acef7c9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
This commit is contained in:
michaelschal committed 2025-11-04 14:45:39 +00:00
1 parent bfb69f8e72
commit 0f497eb447
1 file changed
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB