- Updated dashboard template to show access denied message instead of redirect for non-authorized users - Enhanced login handler to redirect admins to WP admin instead of causing loops - Added view_hvac_dashboard capability to administrator role during plugin activation - Improved access control logic to allow administrators to view dashboard - Added proper cleanup of admin capabilities on plugin deactivation - Prevents ERR_TOO_MANY_REDIRECTS when WordPress admin users try to access trainer dashboard 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| plugins/hvac-community-events | ||