# Phase 02 regression transitions The obsolete Foreman assertions are replaced by Admin-company/Employee-own authorization checks. Raw-time, immutable evidence, credentials and peer-access assertions remain regression requirements. - AdminDashboardTest::test_the_dashboard_data_is_for_administrators_only - DashboardPresentationTest::test_other_role_dashboards_do_not_receive_admin_shell - RoleAccessTest::test_exactly_two_roles_exist - RoleAccessTest::test_each_role_gets_its_own_dashboard - RoleAccessTest::test_navigation_shows_only_modules_the_role_may_open_with_the_original_scoped_labels - RoleAccessTest::test_a_foreman_dashboard_lists_only_their_own_team - RoleAccessTest::test_a_worker_never_sees_other_accounts_on_their_dashboard - RoleAccessTest::test_the_admin_dashboard_shows_real_account_counts_only - RoleAccessTest::test_user_policy_keeps_a_foreman_inside_their_team - MonthlyReportTest::test_the_report_is_for_administrators_only - MonthlyReportTest::test_the_report_is_built_from_the_real_records_and_matches_the_engine - MonthlyReportTest::test_the_excel_export_is_admin_only_numeric_formula_backed_and_injection_safe - SchedulesTest::test_only_an_administrator_can_use_the_editor_component - ReportPdfTest::test_the_monthly_pdf_is_for_administrators_in_both_languages_and_validates_input - WeeklyReportsUiTest::test_the_builder_is_for_foremen_only - WeeklyReportsUiTest::test_the_recipient_setting_is_administrator_only_and_shown_on_the_settings_page - OrdersUiTest::test_the_settings_are_for_administrators_only - WorkersDirectoryTest::test_a_foreman_sees_only_their_team_and_cannot_manage - WorkersDirectoryTest::test_the_page_opens_for_admin_and_foreman_and_not_for_workers - WorkersDirectoryTest::test_creating_a_user_hashes_a_permanent_password - WorkersDirectoryTest::test_only_workers_belong_to_an_active_foreman - WorkersDirectoryTest::test_editing_a_role_ends_sessions_and_clears_the_team_of_a_demoted_foreman - WorkersDirectoryTest::test_delete_archives_and_keeps_the_row_and_unassigns_the_team - EmployeeManagementUiTest::test_foreman_kpis_and_rows_remain_scoped_and_read_only - SchedulesTest::test_only_administrators_manage_and_foremen_see_only_their_team - AttendanceHistoryTest::test_a_foreman_sees_accuracy_but_never_coordinates_and_cannot_open_foreign_workers - AttendanceUiTest::test_the_foreman_overview_shows_only_their_own_team - AttendanceUiTest::test_the_pages_are_available_in_both_languages_and_for_every_role - ReturnTravelTest::test_journey_detail_keeps_admin_foreman_team_scope_and_worker_denial - SixStepTravelTest::test_authorized_team_reports_and_worker_write_permissions_remain_enforced - DemoWorksiteDeletionTest::test_worker_and_foreman_cannot_delete_demo - DailyReportsTest::test_a_foreman_sees_only_submitted_reports_of_their_own_team_and_the_admin_every_submitted_one - DailyReportsTest::test_downloads_are_restricted_owner_always_team_foreman_and_admin_only_after_submission - DailyReportsTest::test_the_download_route_serves_private_files_safely_and_hides_them_from_others - DailyReportsUiTest::test_the_worker_page_and_the_review_page_open_for_the_right_roles - DailyReportsUiTest::test_the_review_shows_the_teams_reports_and_never_a_draft_or_a_foreign_team - LeaveTest::test_only_workers_with_an_active_foreman_submit - LeaveTest::test_the_scopes_worker_own_foreman_team_admin_all - LeaveTest::test_pending_requests_come_first_and_the_filter_works - LeaveTest::test_a_second_approval_is_refused - LeaveTest::test_nobody_else_can_approve_not_the_worker_not_another_foreman_not_an_admin - LeaveTest::test_after_a_team_change_the_old_foreman_can_no_longer_approve - LeaveTest::test_the_pages_open_for_every_role_with_the_right_content - LeaveTest::test_admin_and_foremen_see_scoped_pending_badges_but_workers_do_not - LeaveTest::test_a_worker_without_a_foreman_gets_the_clear_message - LeaveTest::test_the_foreman_reviews_and_approves_with_a_confirmation_and_the_admin_cannot - OrdersTest::test_nobody_can_accept_or_cancel_until_a_capability_is_configured_not_even_the_admin - OrdersTest::test_capabilities_are_separate_and_a_personal_grant_works_only_for_that_person - OrdersTest::test_even_with_the_capability_a_foreman_cannot_act_on_another_teams_order_and_the_role_comes_from_the_database - OrdersTest::test_the_actions_offered_to_each_viewer_follow_the_grants - OrdersTest::test_capability_management_is_admin_only_audited_and_limited_to_admin_and_foreman_targets - OrdersTest::test_only_administrators_change_the_policy_and_invalid_input_is_refused - OrdersTest::test_form_suggestions_are_the_workers_own_recent_worksites_only - OrdersTest::test_scopes_worker_own_foreman_team_admin_all - OrderDecisionsDefaultTest::test_the_administrator_can_decide_too_but_a_foreman_cannot_touch_a_foreign_teams_order_and_workers_never_can - NavigationCountsTest::test_pending_counts_respect_admin_and_foreman_team_scope - NavigationCountsTest::test_existing_counter_refreshes_for_new_records_and_clears_processed_records - NavigationCountsTest::test_role_status_and_team_changes_are_rechecked_on_refresh - NotificationsTest::test_preferences_switch_categories_off_but_system_notices_cannot_be_switched_off - NotificationsTest::test_business_events_notify_the_right_people_in_their_own_language - NotificationsTest::test_deep_links_are_re_checked_and_reveal_nothing_when_access_is_lost - NotificationsTest::test_the_history_page_filters_and_paginates_and_the_settings_save_preferences - DemoWorksiteDeletionTest::test_worker_and_foreman_cannot_delete_demo - WorksiteManagementTest::test_admin_grants_foreman_create_and_foreman_creates_own_site - WorksiteManagementTest::test_default_foreman_and_worker_are_forbidden_and_cannot_self_grant - WorksiteManagementTest::test_revocation_blocks_open_form_submission - WorksiteManagementTest::test_individual_deny_overrides_role_grant_and_inherit_restores_it - WorksiteManagementTest::test_foreman_scope_and_separate_gps_permission_are_enforced - WorksiteManagementTest::test_foreman_cannot_assign_foreign_workers - WorksiteManagementTest::test_readiness_is_administrator_only_and_translated - WorksiteManagementTest::test_creation_accepts_all_onboarding_fields_and_worker_can_select_the_result - WeeklyReportsTest::test_the_builder_aggregates_the_teams_submitted_reports_for_monday_to_sunday_only - WeeklyReportsTest::test_only_foremen_build_weekly_reports - WeeklyReportsTest::test_closing_stores_a_snapshot_marks_closed_and_creates_exactly_one_delivery - WeeklyReportsTest::test_a_closed_report_is_shown_exactly_as_finalised_even_if_more_reports_arrive_later - WeeklyReportsTest::test_closing_needs_a_team_and_something_to_report - WeeklyReportsTest::test_listing_per_role_foreman_own_admin_all_worker_none - WeeklyReportsTest::test_retries_are_limited_and_only_the_owner_or_an_admin_may_retry - WeeklyReportsUiTest::test_the_reports_page_offers_the_right_tabs_to_each_role - WeeklyReportsUiTest::test_the_builder_starts_from_the_teams_words_saves_a_draft_and_closes_with_confirmation - WeeklyReportsUiTest::test_the_list_shows_own_reports_to_a_foreman_and_all_to_the_admin_and_opens_the_final_text Final reconciliation: obsolete team scope expects company Admin visibility; peer Employee denial/private drafts remain. Immutable notification test changes to a different type. Fixed-authority UI replaces removed grant editor. - NotificationsTest::test_only_the_read_state_can_change_in_the_app_and_in_the_database - LeaveTest::test_the_scopes_worker_own_foreman_team_admin_all - AttendanceHistoryTest::test_a_foreman_sees_accuracy_but_never_coordinates_and_cannot_open_foreign_workers - AttendanceUiTest::test_the_pages_are_available_in_both_languages_and_for_every_role - DailyReportsTest::test_a_foreman_sees_only_submitted_reports_of_their_own_team_and_the_admin_every_submitted_one - DailyReportsTest::test_the_team_view_reports_none_draft_and_submitted_without_calling_a_missing_report_an_absence - DailyReportsTest::test_downloads_are_restricted_owner_always_team_foreman_and_admin_only_after_submission - DailyReportsTest::test_the_download_route_serves_private_files_safely_and_hides_them_from_others - DailyReportsUiTest::test_the_worker_page_and_the_review_page_open_for_the_right_roles - DailyReportsUiTest::test_the_review_shows_the_teams_reports_and_never_a_draft_or_a_foreign_team - DashboardOrderPopupTest::test_popup_event_preserves_worker_and_foreman_visibility_scope - MonthlyReportTest::test_the_excel_export_is_admin_only_numeric_formula_backed_and_injection_safe - RoleAccessTest::test_a_foreman_dashboard_lists_only_their_own_team - RoleAccessTest::test_a_worker_never_sees_other_accounts_on_their_dashboard - WeeklyReportsTest::test_retries_are_limited_and_only_the_owner_or_an_admin_may_retry - ReportPdfTest::test_the_daily_pdf_follows_the_visibility_of_the_screen - ReportPdfTest::test_the_weekly_pdf_is_for_the_closing_foreman_and_administrators_only - WeeklyReportsUiTest::test_the_reports_page_offers_the_right_tabs_to_each_role - WeeklyReportsUiTest::test_the_recipient_setting_is_administrator_only_and_shown_on_the_settings_page - OrdersUiTest::test_each_role_gets_its_own_tabs_and_titles_in_both_languages - OrdersUiTest::test_the_explorer_shows_only_what_the_role_may_see - OrdersUiTest::test_the_detail_shows_the_order_and_actions_only_for_those_who_hold_the_capability - OrdersUiTest::test_a_cancellation_stores_the_explanation_and_a_foreman_cannot_open_a_foreign_order - OrdersUiTest::test_the_settings_save_a_new_policy_version_and_capabilities_deny_by_default - OrdersUiTest::test_the_settings_save_a_new_policy_version_and_capabilities_deny_by_default