该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Data access levels

描述

This plugin allow to set access level value for users and materials and limit
access to materials of a specific type (posts, pages, custom post types) when
user access level lower then material access level.

Also this plugin creates a new capabilities:

  1. dal_admin – capability to change plugin settings
  2. dal_edit – capability to change user access level

Attention to developers!
Filters used in this plugin does not work when using get_posts() with
the parameter ‘suppress_filters’ => true.

Install script don’t assign any values of user access levels and post access levels.
By default post access level = 100 and user access level = 0 (except Administrator = 100 ).
By default access to posts is limited in front-end. There is an option
“Should we apply restrictions in admin console?” in plugin settings to limit access in
administrator interface too.
Users can assign records access level equal or lower their own access level.

Languages: English, Русский

I apologize for possible mistakes in plugin translation.
I will be glad to accept the help with the correct translation of a plugin into
English and to correction of my mistakes.

屏幕截图

  • Plugin settings page
  • Access level column from the User panel (users.php)
  • “Access level” field on edit page

安装

  1. Upload the data-access-levels folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Tools -> DAL settings

评价

此插件暂无评价。

贡献者及开发者

「Data access levels」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.1

  • Fixed bug where default values are set every time at the activation

1.1.0

  • Updated plugin settings page
  • Added setting “guest access level”
  • Added possibility specify a minimum user access level = 0
  • Updated screenshot

1.0

  • Initial release