=== View Admin As === Contributors: keraweb Tags: admin, view, roles, users, switch, capabilities, caps Requires at least: 3.8 Tested up to: 4.3.1 Stable tag: 4.3.1 View the WordPress admin as a specific role and switch between users. == Description == This plugin will add an menu item to your admin bar where you can change your view on the WordPress admin without the need to login with a user that has this role! If you've selected a user, you can also change this user's preferences; like screen settings on various admin pages. = Overview = * Switch to a default view of a role * Switch to the view of a user to see their capabilities and settings (Admin's are filtered!) * Edit this user's screen preferences and settings * Do this all withour loggin out and easily go back to your own user view! = Compatibility = I think this plugin will work with most other plugins though I've found two allready that have their own capability management or have some kind of actions that influence the admin. Fixed compatibility issues: * WooCommerce - removes the admin bar for the roles "customer" and "subscriber". This functionality will stay the same, but when you switch a view in the admin it will override this setting. (You need the admin bar to switch back to default) * Pods - has its own capability management to determine if the current user is an admin or not. I've user the build in capabilities from Pods to determine wether to show the Pods menu when you are in an other view. * User Role Editor - Support for multiple roles per user. (since 1.2.2) = I can't switch back! = Just add "?reset-view" in the address bar and you're good to go! This will work on all pages as long as you are logged in. Example: http://www.your.domain/wp-admin/?reset-view = It's not working! / I found a bug! = Please let me know through the support and add a plugins and themes list! :) = Why this plugin? = I've created this at first for myself since I'm a developer and often need to see the outcome on roles which my clients use. Note: this plugin will only be usefull for admins (network super admins or regular admins). It will do NOTHING for other roles. Also keep in mind that switching to users that have equal roles is disabled. (regular admins to regular admins + super admins to super admins) == Installation == Installation of this plugin works like any other plugin out there. Either: 1. Upload the zip file to the '/wp-content/plugins/' directory 2. Activate the plugin through the 'Plugins' menu in WordPress Or search for "View Admin As" via your plugins menu. == Screenshots == 1. Admin Default view with the View Selector (view mode: off) 2. Admin Role view (role: Editor) 3. Admin User view (user: Mr. Random, role: Author) 4. Default dropdown 5. Dropdown when with 10+ users 6. Search users == Changelog == = 1.2.2 = * Added support for users with multiple roles * Enabled switching to admin users for multisites (switching to super admins is allways disabled!) = 1.2.1 = * Warning fixed = 1.2 = * Support i18n functionality (currently only English and Dutch, translators are welcome!!) - Note: I use default WordPress strings aswell * When grouped (10+ users): show number of users per role * When grouped (10+ users): ability to search for users by their username * Disable forcing the admin bar when in default view (Off) * Some extra code and style improvements = 1.1 = * Sort users by their role * Group users under their roles when there are more than 10 users * Make current user or role bold in dropdown + add eye icon * Improve compatibility with Pods Framework * Added css for style improvements * Some extra code improvements = 1.0 = Created from nothingness just to be one of the cool kids. Yay! == Other Notes == You can find me here: * [Keraweb](http://www.keraweb.nl/ "Keraweb") = Ideas? = Please let me know through the support page!