Linux 软件免费装
Banner图

View Admin As

开发者 keraweb
更新时间 2024年11月12日 08:10
捐献地址: 去捐款
PHP版本: 5.2.4 及以上
WordPress版本: 6.7

标签

admin visitor capabilities roles users view switch screen settings defaults user switching role switching caps

下载

1.3 1.3.1 1.3.2 1.4.1 1.5 1.5.1 1.5.2.1 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7 1.7.1 1.7.2 1.7.4 1.7.5 1.7.6 1.7.6.1 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.2.1 1.5.2 1.7.3 1.8.6 1.0 1.3.3 1.4 1.8.7 1.8.8 1.1 1.2.2 1.8.9 1.3.4

详情介绍:

The ultimate User switcher and Role manager This plugin will add a menu item to your admin bar where you can change your view in the WordPress admin.\ Switch to other users without the need to login as that user or even switch roles and temporarily change your own capabilities. When you're viewing as a different user, you can also change this user's preferences; like screen settings on various admin pages. With the "Role defaults" module you can set default screen settings and metabox locations for roles and apply them to users through various bulk actions. It also features a "Role manager" module to add, edit or remove roles and grant or deny them capabilities. Overview / Features Module: Role defaults (screen settings) Click here for Role Defaults documentation Module: Role manager (role editor) Note: Changes made with the Role Manager are permanent! Click here for Role Manager documentation Compatibility & Integrations This plugin will work with most other plugins but these are tested: Full list of tested plugins and details: Compatibility & Integrations I can't switch back! See item 3 at FAQ. It's not working! / I found a bug! Please let me know through the support and add a plugins and themes list! :) Security This plugin is completely safe and will keep your users, passwords and data secure.\ For more info see item 7 at FAQ! Developer notes This plugin will only be useful for admins (network super admins or regular admins). It will not add functionalities for other roles unless you specifically apply custom capabilities for those users.\ Also keep in mind that switching to users that have equal roles is disabled. (regular admins to regular admins + super admins to super admins) 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. So, when you are developing a plugin or theme that does anything with roles or capabilities you can use this plugin to easily check if everything works. No more hassle of creating test users and constantly logging out and in anymore! This plugin is also useful to support your clients and/or users. For example; make screen display presets of the edit and overview pages before you let them log in.

安装:

Installation of this plugin works like any other plugin out there. Either:
  1. Upload and unpack the zip file to the '/wp-content/plugins/' directory
  2. 通过 WordPress 的“插件”菜单激活插件
Or search for "View Admin As" via your plugins menu. Minimum Requirements Install as a must-use plugin Move the view-admin-as.php file into the root of your mu-plugins directory, not in the view-admin-as subdirectory.\ This is a limitation of WordPress and probably won't change soon. Example:\ All files dir: /wp-content/mu-plugins/view-admin-as/...\ Main file dir: /wp-content/mu-plugins/view-admin-as.php

屏幕截图:

  • Dropdown with grouped users
  • Search users
  • Quickly (de)select capabilities
  • Large popup for better overview of capabilities
  • Admin bar when a view is selected + the reset button location
  • Settings window
  • Module Role defaults window (tabs are normally closed)
  • Module Role manager main window (tabs are normally closed)
  • Module Role manager capability window (tabs is normally closed)
  • View combinations
  • Access levels taken from the "Restrict User Access" plugin

升级注意事项:

1.7 Version 1.7 introduces some radical code changes to the plugin and requires WordPress 4.1 or higher. Please clear your cache after updating. 1.5 Version 1.5 introduces some radical code changes to the plugin. Please clear your cache after updating.

其他记录:

You can find me here: Translations Please help translating this plugin on translate.wordpress.org! Actions & Filters Plugin capabilities Click here for documentation Ideas? Please let me know on GitHub!

常见问题:

  1. How do I switch to a user, role or visitor?

Just click on the link in the toolbar! If the amount of users and roles combined is more than 15 you can find the users under their roles or you can search for them. If the amount of users is more than 100 the plugin will switch to AJAX search and won't load users in advance for performance.\ This limit can be changed through the filter: view_admin_as_user_query_limit

  1. How does the capability system work?

Only the capabilities that are allowed for your user are shown. You can deselect the capabilities by clicking on them. When you would like to see the results just click the apply button on the upper left. Please note that as an administrator you don't have all capabilities marked as enabled by default. This is because WP overrules some capability checks for super admins. This does not happen when you are in a view!** You can also filter the roles by name or select/deselect all capabilities. Note: When you select/deselect capabilities while you've filtered them only the capabilities shown by your filter are affected! When you disable a capability that prevents you from viewing a screen, you can reset the view, see next item.

  1. I can't switch back!

When a view is selected there is a reset button available on the dropdown. If you get a 403 page of WordPress you can return with the link that this plugin will add to those pages. And if even that doesn't work 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

  1. How do the Role Defaults and Role Manager modules work?

  1. I can't find a user!

Could it be that this user is an equal user to your's? Example: you are both Admins? If so, these are filtered. Viewing Admins can only be done when you are a Super Admin within a network installation. Why? To protect your fellow admin! You have no power over equal users.. Unless you are a superior admin... Read more If this is not the case, please make sure you aren't overlooking something.\ If that is not the case, please contact me! See next item.

  1. It's not working! / I found a bug!

Please let me know through the support and add a plugins and themes list! :)

  1. Is this plugin safe? Even for production websites?

You have nothing to worry about.\ All the plugin functionality is only run if the user is logged in AND is allowed to use this plugin (website admin or custom capabilities).\ This plugin will do absolutely nothing if the above requirements are not met.

  • Your view is stored separately so your user will keep the normal roles and capabilities.
  • All settings, views, capabilities, etc. are verified before applied.
  • Passwords are not (and cannot be) revealed.
  • Fully written with the WordPress coding and security standards.
  • Full support for SSL (https).
So basically if your admin users are safe, this plugin will be safe. Note: if your admin users aren't safe, this plugin is the last one to worry about ;)

  1. Does this plugin work as a must-use plugin (mu-plugin)?

Yes, see Install as a must-use plugin on the Installation tab.

更新日志:

1.8.9 Detailed info: PR on GitHub 1.8.8 Detailed info: PR on GitHub 1.8.7 Detailed info: PR on GitHub 1.8.6 Detailed info: PR on GitHub 1.8.5 Detailed info: PR on GitHub 1.8.4 Detailed info: PR on GitHub 1.8.3 Detailed info: PR on GitHub 1.8.2 Detailed info: PR on GitHub 1.8.1 Detailed info: PR on GitHub 1.8 Detailed info: PR on GitHub Older versions Complete changelog