Staging Users Control Staging Users Control

Staging Users Control

Created by: Yassine Haddioui

Rating:
Downloaded: 741 times

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.

Screenshots

  • This is the plugin settings page, under Settings > Staging Users Control.
  • This is the users profile page, showing the new checkbox to allow users to login into the LIVE env.
  • You can show a message on the live site for users to notice they are logging on the LIVE site.

Categories

Get New Themes & Resources