Skip to content

Add user access controls to each feature - #1297

Merged
dkotter merged 10 commits into
WordPress:developfrom
dkotter:feature/user-access-controls
Nov 18, 2026
Merged

dkotter merged 10 commits into
WordPress:developfrom
dkotter:feature/user-access-controls

Fix lint error and failing tests

f714e89
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 18, 2026 in 1s

85.58% (+0.01%) compared to 5a1f305

View this Pull Request on Codecov

85.58% (+0.01%) compared to 5a1f305

Details

Codecov Report

❌ Patch coverage is 87.38462% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.58%. Comparing base (5a1f305) to head (f714e89).

Files with missing lines Patch % Lines
includes/Settings/Settings_Page.php 52.17% 11 Missing ⚠️
includes/Access_Control/Feature_Access.php 86.66% 6 Missing ⚠️
...udes/Experiments/Text_To_Speech/Text_To_Speech.php 66.66% 3 Missing ⚠️
includes/Settings/Settings_Registration.php 95.38% 3 Missing ⚠️
includes/Abstracts/Abstract_Ability.php 66.66% 2 Missing ⚠️
...iments/Alt_Text_Generation/Alt_Text_Generation.php 81.81% 2 Missing ⚠️
...des/Experiments/Text_To_Speech/REST_Controller.php 87.50% 2 Missing ⚠️
...eriments/Comment_Moderation/Comment_Moderation.php 85.71% 1 Missing ⚠️
.../Content_Classification/Content_Classification.php 85.71% 1 Missing ⚠️
.../Experiments/Content_Resizing/Content_Resizing.php 85.71% 1 Missing ⚠️
... and 9 more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1297      +/-   ##
=============================================
+ Coverage      85.56%   85.58%   +0.01%     
- Complexity      5003     5087      +84     
=============================================
  Files            192      193       +1     
  Lines          18205    18409     +204     
=============================================
+ Hits           15578    15755     +177     
- Misses          2627     2654      +27     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.