upskill-event-manager/includes
bengizmo 5a302f2312 feat: Add admin and master trainer support to navigation system
Enhanced navigation system to support multiple user types:

 USER TYPE SUPPORT:
- HVAC Trainers: Full navigation access
- HVAC Master Trainers: Full navigation + Master Dashboard link
- WordPress Admins: Full navigation + Master Dashboard link

 NAVIGATION UPDATES:
- Added Master Dashboard as main menu item for masters/admins
- Updated capability checks to allow admin access to all items
- Created user_can_access_item() helper method for flexible permissions
- Admins can now access all trainer functionality

 MASTER DASHBOARD INTEGRATION:
- Master Dashboard link prominently displayed for qualified users
- Maintains existing Master Trainer submenu structure
- Clean separation between regular trainer and master trainer features

 CAPABILITY SYSTEM:
- hvac_trainer: Basic trainer navigation
- hvac_master_trainer: Enhanced navigation with master features
- manage_options: Full administrative access to all features

Navigation now properly displays for WordPress administrators, providing full access to the HVAC trainer system while maintaining proper role-based permissions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 23:19:28 -03:00
..
admin fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-attendee-profile.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-event-author-fixer.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-event-form-handler.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-access-control.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-activator.php fix: Update activator to use new HVAC_Route_Manager class 2025-07-28 18:07:35 -03:00
class-hvac-approval-workflow.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-breadcrumbs.php feat: Add navigation menu system and breadcrumb functionality 2025-07-30 16:45:58 -03:00
class-hvac-community-events.php fix: Resolve event manage page CSS override and duplicate header issues 2025-07-30 15:36:39 -03:00
class-hvac-dashboard-data-fixed.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard-data-refactored.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard-data.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-dashboard.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-deactivator.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-event-manage-header.php fix: Resolve event manage page CSS override and duplicate header issues 2025-07-30 15:36:39 -03:00
class-hvac-event-navigation.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
class-hvac-form-builder.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-help-system.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-logger.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-manage-event.php fix: Remove persistent HTML comment from manage event page 2025-07-30 11:27:58 -03:00
class-hvac-master-dashboard-data.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-organizers.php feat: Major registration refactor and new trainer management pages 2025-07-30 16:29:51 -03:00
class-hvac-page-content-fixer.php fix: Resolve event manage page CSS override and duplicate header issues 2025-07-30 15:36:39 -03:00
class-hvac-page-manager.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-plugin.php feat: Integrate navigation and breadcrumbs into all trainer templates 2025-07-30 17:31:54 -03:00
class-hvac-registration.backup.php feat: Major registration refactor and new trainer management pages 2025-07-30 16:29:51 -03:00
class-hvac-registration.php feat: Major registration refactor and new trainer management pages 2025-07-30 16:29:51 -03:00
class-hvac-roles.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-route-manager.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-scripts-styles.php fix: Resolve event manage page CSS override and duplicate header issues 2025-07-30 15:36:39 -03:00
class-hvac-security.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-settings-refactored.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
class-hvac-settings.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
class-hvac-shortcodes.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-template-integration.php fix: Implement proper WordPress standards for navigation system 2025-07-30 22:32:23 -03:00
class-hvac-template-loader.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
class-hvac-trainer-navigation.php feat: Add admin and master trainer support to navigation system 2025-07-30 23:19:28 -03:00
class-hvac-trainer-profile-manager.php feat: Major registration refactor and new trainer management pages 2025-07-30 16:29:51 -03:00
class-hvac-trainer-status.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
class-hvac-venues.php feat: Major registration refactor and new trainer management pages 2025-07-30 16:29:51 -03:00
legacy-redirects.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00