Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition定义

该  权限菜单  允许您配置在运行时用户定义的组类别权限。

此功能减少了进入用户视图构建器以手动调整每个类别的需要。

The Permission Menu allows you to configure category permissions for user-defined groups in run-time.

This feature alleviates the need to go into the userview builder to manually adjust for every category.

 

Figure 1: Permission Menu in Userview图1:Userview中的权限菜单

Figure 2: Configuring permission - Add User - Permission Menu in Userview

Image Removed

Figure 3: Permission Menu Properties

图2:配置权限 - 在Userview中添加用户 -  权限菜单

Image Added

图3:权限菜单属性

名称描述
自定义ID

物品链接slug。可选字段

NameDescription
Custom ID

Item link slug. Optional field.

Info
title独特的领域Unique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

LabelMenu label. Mandatory field.
Page TitlePage title on Permission Menu page.
Permissions
Permission Key

Id to match against userview categories.

See Figure 3 & 7 for reference.

Permission LabelPermission list name. See Figure 1 & 3 for reference.
Category

Group label. Category to group similar permission labels under.

See Figure 1 & 3 for reference.

Optional Field.

Enable Refined Controls?

Allows administrators to implement intricate user permission configurations per group.

Warning
titleImportant Note

Once this feature is enabled, only users with administrative access can manage the permission.

As oppsosed to Figure 2, when configuring permission, you will be brought to the following screen for finer permission control.

Image Removed

Figure 4: Enabled Refined Controls

此处定义的值必须对Userview菜单的其余部分唯一,因为将调用第一个匹配的名称

标签菜单标签。必填项。
页面标题“权限菜单”页面上的页面标题。
权限
权限密钥

ID与用户视图类别匹配。

请参见图3以供参考

 

许可标签权限列表名称。请参见图13以供参考。
类别

集团标签。类别下的类似权限标签。

请参见图1 以供参考

可选字段。

启用控件?

允许管理员为每个组实施复杂的用户权限配置。

Warning
title重要的提示

启用此功能后,只有具有管理访问权限的用户才能管理权限。

如图2所示,在配置权限时,您将进入以下屏幕以获得更好的权限控制。

Image Added

图4:启用控件

Info
title如何在userview类别中使用此权限插件

在您希望通过此插件管理其权限的userview类别中,编辑类别的权限,如图5所示

Image Added

图5:添加用户视图类别的权限

Image Added

图6:更改“权限类型”以授予权限菜单权限

Image Added

图7:在“权限”菜单中为“类别”分配“权限密钥”以进行匹配

Info

设置权限菜单后,请记住配置所有相应的用户视图类别。

请注意,多个类别可以使用相同的权限密钥。这样设置会将多个类别授予权限组

Info
titleHow to use this permission plugin in a userview category

In the userview category that you wish to manage its permission via this plugin, edit the category's permission as shown in figure 5.

Image Removed

Figure 5: Adding permission to an userview category

Image Removed

Figure 6: Change "Permission Type" to grant permission to Permission Menu

Image Removed

Figure 7: Assigning "Permission Key" to Category to match against in Permission Menu

Info

After setting up the Permission Menu, remember to configure all the respective userview categories.

Note that, multiple categories can use the same permission key. Setting up as such will grant multiple categories to a permission group.