[wordpress插件] Data access levels数据访问级别

wordpress 插件 文章 2020-04-12 18:00 381 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

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_admin –更改插件设置的功能

    3. dal_edit – capability to change user access level
    4. dal_edit –更改用户访问级别的功能

    Attention to developers!

    关注开发人员!

    Filters used in this plugin does not work when using get_posts() with

    将get_posts()与
    一起使用时,此插件中使用的过滤器不起作用

    the parameter ‘suppress_filters’ => true.

    参数“ 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 ).

    默认情况下,帖子访问级别= 100,用户访问级别= 0(管理员= 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.

    英语并纠正我的错误。

安装步骤

    1. Upload the data-access-levels folder to the /wp-content/plugins/ directory
    2. data-access-levels 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Go to the Tools -> DAL settings
    6. 转到工具-> DAL设置

下载地址
https://downloads.wordpress.org/plugin/data-access-levels.zip
-EOF-

AI助手支持GPT4.0