Temporary Role Switcher

Skildring

Temporary Role Switcher lets administrators safely and temporarily switch between different user roles for testing or development purposes. The plugin now features enhanced security via updated variable and function names, robust nonce verification, and a refined AJAX interface paired. Whether you’re testing a new feature under a different role or troubleshooting permission issues, this plugin makes switching roles effortless and secure.

Features

  • Temporary Role Switching: Quickly switch from your current role to any other available role.
  • One-Click Reversion: Easily revert back to your original Administrator role using a dedicated floating button.
  • AJAX-Powered Interface: Enjoy a seamless role switching experience without full page reloads.
  • Enhanced Security: Updated function and variable names combined with strong nonce verification keep your plugin code secure and harder to mimic.
  • Accessible Frontend Controls: A floating action button appears on both the admin and frontend areas when a role has been switched.

Usage

  1. Once activated, locate the Admin To menu added to your WordPress admin bar.
  2. Select your desired temporary role from the dropdown list.
  3. When your role is switched, a floating button appears (both in the admin area and on the frontend) that lets you quickly revert back to the Administrator role.
  4. Enjoy secure and efficient role testing with full reversion capabilities.

Requirements

  • WordPress 5.0 or later.
  • PHP 7.0 or higher.

Support & Donations

If you like this plugin and would like to support its development, please consider making a donation. Your support helps keep the plugin updated and maintained.
👉 Donate Here: help.bhandarum.com

License

This plugin is licensed under the GPL-3.0+ license. For more information, please visit https://www.gnu.org/licenses/gpl-3.0.html.

Installasjon

  1. Download the plugin folder.
  2. Upload the folder to your WordPress wp-content/plugins/ directory.
  3. In the WordPress Dashboard, navigate to Plugins > Installed Plugins and activate the «Temporary Role Switcher» plugin.

Vanlege spm.

Can I use this plugin to test other roles on my site?

Yes, this plugin allows administrators to temporarily switch to any role available on your site for testing or development purposes.

How do I revert back to the admin role?

After switching roles, a floating button will be available (both in the admin bar and on the frontend) for you to click and revert back to the Administrator role with a single click.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Temporary Role Switcher” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0.3

  • Fix Permission issue

1.0.2

  • Renamed internal functions and variables for enhanced security.
  • Improved nonce verification for safer role switching.
  • Refined AJAX and SweetAlert integration for a smoother user experience.
  • Minor bug fixes

1.0.1

  • Initial release featuring AJAX-driven role switching and SweetAlert confirmation dialogs.