Title: User Role Switcher
Author: Dhanendran Rajagopal
Published: <strong>25 de febrero de 2020</strong>
Last modified: 18 de junio de 2026

---

Buscar plugins

![](https://ps.w.org/wp-user-role-switcher/assets/banner-772x250.jpg?rev=3576161)

![](https://ps.w.org/wp-user-role-switcher/assets/icon.svg?rev=3576149)

# User Role Switcher

 Por [Dhanendran Rajagopal](https://profiles.wordpress.org/dhanendran/)

[Descargar](https://downloads.wordpress.org/plugin/wp-user-role-switcher.0.2.4.zip)

 * [Detalles](https://es.wordpress.org/plugins/wp-user-role-switcher/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/wp-user-role-switcher/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/wp-user-role-switcher/#developers)

 [Soporte](https://wordpress.org/support/plugin/wp-user-role-switcher/)

## Descripción

This plugin allows you to quickly swap between user roles in WordPress at the click
of a button. You’ll be instantly switched to the new user role. This is handy for
test environments where you regularly log out and in between different accounts,
or for administrators who need to switch between multiple accounts to test the feature
in different user roles.

### Features

 * Switch Role To: Instantly switch to any user role from the admin bar at top.
 * Switch back: Instantly switch back to your originating role.
 * Compatible with WordPress, WordPress Multisite, WooCommerce.

### Security

 * Only users with the ability to edit other users can switch user roles. By default
   this is only Administrators on single site installations, and Super Admins on
   Multisite installations.

### Usage

 1. Once plugin is activated, you will see _Switch Role To_ in the top admin bar.
 2. Clicking this will bring the list of user roles available in the system.
 3. Click on any user role you want to test as.
 4. You can switch back to your originating user role via the _Switch back_ link on
    the top admin bar.

## Reseñas

![](https://secure.gravatar.com/avatar/2acf7e162ff70e4cebef79dfafa97845a8deed68b7f01ed1069e2ba3369f524b?
s=60&d=retro&r=g)

### 󠀁[Great support!](https://wordpress.org/support/topic/great-support-3484/)󠁿

 [SiKth](https://profiles.wordpress.org/sikth/) 2 de abril de 2021 1 respuesta

Was asking for a floating button to get back to the admin, got in in a couple of
days. Great plugin! Great support!

![](https://secure.gravatar.com/avatar/57e86f3d0d70e7ce3788a2820a96586ac4e5321a14eb5484a73cfefcc6a1e93d?
s=60&d=retro&r=g)

### 󠀁[Compatible 100% With WP 5.7](https://wordpress.org/support/topic/compatible-100-with-wp-5-7/)󠁿

 [c3media1](https://profiles.wordpress.org/c3media1/) 14 de marzo de 2021 1 respuesta

Great, i tested and it works non problem with Last Wordpress Version. Good job!

 [ Leer todas las 2 reseñas ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## Colaboradores y desarrolladores

«User Role Switcher» es un software de código abierto. Las siguientes personas han
colaborado con este plugin.

Colaboradores

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

[Traduce «User Role Switcher» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-user-role-switcher)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/wp-user-role-switcher/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/wp-user-role-switcher/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 0.2.4

 * [Security] Role switching now requires the `promote_users` capability (administrators/
   super admins) instead of `manage_options`, preventing a lower-trust custom role
   granted `manage_options` from self-assigning a higher role such as administrator.

#### 0.2.3

 * [Security] Added a capability check to the role-switch handler so only administrators(
   or an already-switched user switching back) can switch roles.
 * [Security] The «Switch Back» action now verifies its nonce before changing any
   roles.
 * [Security] Escaped role-switch URLs and labels in the admin bar and floating 
   button output.
 * [Security] Hardened the post-switch redirect to a safe, local URL (no longer 
   trusts the host header).
 * [Fix] Replaced the deprecated `FILTER_SANITIZE_STRING` with core sanitization
   for PHP 8.1+ compatibility.

#### 0.2.0

 * [Improvements] Added floating action button when role is switched.

#### 0.1.0

 * Initial release

## Meta

 *  Versión **0.2.4**
 *  Última actualización **hace 4 meses**
 *  Instalaciones activas **100+**
 *  Versión de WordPress ** 3.7 o superior **
 *  Probado hasta **7.0.7**
 *  Versión de PHP ** 7.4 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/wp-user-role-switcher/)
 * Etiquetas:
 * [role switcher](https://es.wordpress.org/plugins/tags/role-switcher/)[switch user](https://es.wordpress.org/plugins/tags/switch-user/)
   [testing](https://es.wordpress.org/plugins/tags/testing/)[user management](https://es.wordpress.org/plugins/tags/user-management/)
   [user roles](https://es.wordpress.org/plugins/tags/user-roles/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/wp-user-role-switcher/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  2 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=1)

[Tu valoración](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## Colaboradores

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/wp-user-role-switcher/)