plugin-icon

Staging Users Control

A plugin to prevent certain users from logging into the back-end in the LIVE environment. You can let your users edit staging but not live.
Ratings
5
Last updated
July 9, 2014
Version
1.0

Since we’ve been using WPEngine we found no way to limit access to the LIVE website. We had problems with users mistakenly editing the live website and messing up the HTML. This plugin basically adds a checkbox to the users (allow login on LIVE) and compare the get_bloginfo(‘url’) to the one setup on the plugin’s setting page. If it matches, it means it’s live environment and will prevent users who are not specifically authorized to login into the live environment. You can bypass this check (in case you log yourself out of live) by setting up a simple cookie. This is not a security plugin, this is just to avoid stupid mistakes. The URL meta value is base64 encoded before storage to avoid the Search and Replace generally done by the “One Click” live push.

Arbitrary section

Please let me know if you have any suggestions or questions.

Freeon Creator plan
Tested up to
3.9.40
This plugin is available for download to be used on your WordPress self-hosted installation.