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.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4190 days ago • 1 reviews
Is Staging Users Control abandoned?
Possibly abandoned (last update 4190 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload
staging-users-control.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- IMPORTANT: First edit the users you want to allow on the LIVE environment.
- Setup the live environment URL under Settings > Staging Users Control
- Enjoy.
Frequently Asked Questions
I logged myself out of the website because I didn’t allow any user to login to the live site
Just setup a COOKIE with the name “SUC-LOGMELIVE” and the specified value in the settings page if you want to bypass the plugin.
You can retrieve this value under Settings > Staging Users Control on your staging website.
I did setup everything correctly but the plugin does not seem to be recognizing the live site.
Sometimes character encoding can mess things up.
In the case of WP Engine, every time you push your site live, it replaces the value in get_bloginfo(‘url’). To work around this problem, you can use URL comparison by checking “Compare URL” in the plugin’s settings page. Make sure to match the protocol (http/https).
Review feed
Changelog
1.0
- Initial Release


