restricted-site-access icon indicating copy to clipboard operation
restricted-site-access copied to clipboard

Add constant to define the Network Mode

Open claytoncollie opened this issue 1 month ago • 0 comments

Is your enhancement related to a problem? Please describe.

I use this project on a WordPress VIP install and it is nice to use the constants in the vip-config.php file. When I pull the production database down to a lower environment, this constant guards me against opening the site up to the public.

I am trying to do the same thing for a multisite network and found that in addition to the define( 'RSA_FORCE_RESTRICTION', true ); definition, I also need to go into the network settings and select the Enforce settings across network setting.

Is it possible to add another constant to control the Network Mode to eliminate this extra step in the dashboard?

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

claytoncollie avatar Jul 02 '24 20:07 claytoncollie