Automattic / vip-go-mu-plugins

The development repo for mu-plugins used on the WordPress VIP Platform.
https://docs.wpvip.com/
GNU General Public License v2.0
192 stars 100 forks source link

ACL: Default to restricting all on non-prod if ACL is enabled but no options are set #5796

Closed rebeccahum closed 2 months ago

rebeccahum commented 2 months ago

Description

If ACL is enabled but no options are explicitly set, we should default non-prods to use vip_files_acl_restrict_all_enabled.

Changelog Description

Changed

Pre-review checklist

Please make sure the items below have been covered before requesting a review:

Pre-deploy checklist

Steps to Test

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (develop@861d8aa). Learn more about missing BASE report. Report is 20 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #5796 +/- ## ========================================== Coverage ? 29.55% Complexity ? 4779 ========================================== Files ? 282 Lines ? 20585 Branches ? 0 ========================================== Hits ? 6083 Misses ? 14502 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud