{include file="public/layout" /}
{lt name="$Request.param.iframe" value="1"} {include file="admin/admin_bar" /} {/lt}

权限组基本信息

*组名称

快捷勾选权限

参考权限组

  超级管理员

  {foreach name="admin_role_list" item="role" key="k"}

  {$role.name}

  {/foreach}

权限组权限设置

语言权限
  简体中文

在线升级
  允许操作

文档权限
  只允许查看自己发布的文档

操作权限

  完全控制

  新增功能

  编辑功能

  删除功能

*功能权限

  全部选择

  {foreach name="modules" item="vo"} {foreach name="vo.child" item="vo2"} {if condition="1 == $vo2['is_modules'] AND ! empty($auth_rule_list[$vo2.id])"} {if condition="1002 == $vo2['id']"}

  ## {$vo2.name}

  {php}$first_arctype_id = 0;{/php} {if condition="! empty($arctypes)"}

  {php}$first_arctype_id = '';{/php} {foreach name="arctypes" item="arctype" key="k"} {if condition="isset($arctype_array[$arctype['id']])"} {if condition="$k>0"} {else /} {php}$first_arctype_id = $arctype['id'];{/php} {/if} {/if} {$arctype.typename} {/foreach}

  {foreach name="arctypes" item="arctype"} {if condition="isset($arctype_array[$arctype['id']])"}
  {foreach $arctype_array[$arctype['id']] as $item}
  {$item.typename}
  {if condition="isset($arctype_array[$item['id']])"}
  {foreach $arctype_array[$item['id']] as $vo} {$vo.typename} {/foreach}
  {/if} {/foreach}
  {/if} {/foreach} {/if}
  {else /}

  ## {$vo2.name}

  {foreach name="auth_rule_list[$vo2.id]" item="rule"} {$rule.name} {/foreach}

  {/if} {/if} {/foreach} {/foreach} {if condition="! empty($plugins)"}

  ## 插件应用

  {foreach name="plugins" item="plugin"}
  - {$plugin.name} {php}$config = json_decode($plugin['config'], true);{/php} {if condition="! empty($config['permission'])"}

    {foreach $config['permission'] as $index => $text} {$text} {/foreach}

    {/if}
  {/foreach}
  {/if}

确认提交
{include file="public/footer" /}