Linux 软件免费装

Page Whitelists

开发者 corvidism
更新时间 2019年4月5日 15:51
PHP版本: 3.6 及以上
WordPress版本: 4.6.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pages admin tools user capabilities user access management UAM editing pages deleting pages access rights limit access

下载

1.0 1.1 1.2 2.0 2.0.1 3.0.0 3.0.1 3.0.2 3.0.3 4.0.0 4.0.1 4.0.2

详情介绍:

NOTICE: This plugin is no longer in active development. I no longer use this plugin in any way and don't plan to work on it further. You can of course continue to use it, just be aware that I will not offer any support or fix any bugs. You're also welcome to fork it on GitHub and base your own plugin on it. Page Whitelists is an administration tool that can be used to allow selected users to edit only certain pages, leaving the rest inaccessible. Using this plugin, you can let user edit only a single page (or a handful of them), while the rest of the content is out of sight. Typical use cases would be a dynamic, shortcode-heavy sites with content that still needs to be edited by inexperienced users (i.e. an 'About us' section), or a company website whith multiple administrators each maintaining their own section. To use this plugin, you create "whitelists" and assign them to users and/or roles. Each whitelist can also alow/deny users to create additional pages. Every page, user and role can belong to multiple whitelists. The user sees only the pages they are allowed to edit - reducing confusion and clutter on the Page listing. This plugin was written as a light-weight replacement for the whitelisting functionality of Role Scoper.

安装:

  1. Install and activate like any other plugin.
  2. Create a whitelist in Users->Maintain Whitelists.
  3. Add users/roles and pages to it.
You can also add page to a whitelist when editing it in Page Editor, or a user through User Editor. Additional (default) plugin settings can be edited in Settings->Page Whitelists.

常见问题:

What happens when user is assigned more than one whitelist?

Whitelists are additive - every user has access to all pages in all whitelists they're assigned to. 'Strict' whitelists have priority - once a user is assigned to a whitelist that disables creation of new pages, they are not allowed to do so (even if other whitelists are 'non-strict').

I set up Page Whitelists, but my users still can't access Pages. What's happening?

This is most likely caused by a missing capability 'edit-pages'. Page Whitelists is substractive, so the user must have access to all pages first. This can happen if you previously used another access manager, especially Role Scoper, and it didn't reset the capabilities properly when uninstalling. You can fix that easily with any plugin that can edit user roles (for example User Role Editor).

Advanced: I need the most recent code of this plugin. Where can I find it?

Github: https://github.com/corvidism/page-whitelists Like many other WP plugin developers, I primarily use git for versioning, so this is the most recent version of the plugin. If you ever wanted to make modifications to the code, I recommend using files from the Github repo.

更新日志:

4.0.2 Last version. 4.0.0 New - pages in Whitelist editor are now arranged in a tree, so parent-child branches can be selected simultaneously. New - names and links to assigned pages in the Whitelist table. New - new plugin options controlling default behavior of whitelists and scope of filtering. Whitelist management was moved under Users, the Page Whitelists page under Settings now contains default plugin settings. Numerous bug fixes. 3.0.3 Bug fix - fixed compatibility issues with NextGen Gallery - creating albums when user is assigned to a strict whitelist. Enhancement - less log messages when WP_Debug is on. 3.0.2 Bug fix - missing file wp-content/plugins/page-whitelists/templates/profile_field.php causes Fatal Error on Edit User page. 3.0.1 Bug fix - setting strict whitelist also blocked creation of new posts (creator-introduced bug, I am very sorry) 3.0.0 Bug fix - fixed an issue with plugins that allow creation of pages Plugin compatibility fix - Tree Page View. New - column with assigned whitelists in User Table New - field on User Profile editor New - select all/none pages when creating/editing whitelist. 2.0 Bug fix - plugin now doesn't throw error on screen-less admin pages (various AJAX helpers for plugins etc.) New - plugin now filters all backend queries that request pages (usually by other plugins) including those made by AJAX. 1.2 Bug fix - automatic addition of newly created pages to non-strict whitelists now works.