开发者 | corvidism |
---|---|
更新时间 | 2019年4月5日 15:51 |
PHP版本: | 3.6 及以上 |
WordPress版本: | 4.6.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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').
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).
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.
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.