<?php
return [
	'POWER'=>[
		"setting"=>[
			'name'=>"网站设置",
			"power"=>[
				'index'=>['name'=>'核心设置','if_show'=>true],
				'article'=>['name'=>'内容参数设置','if_show'=>true],
				'smtp'=>['name'=>'邮箱参数设置','if_show'=>true],
				'yzm'=>['name'=>'验证码参数设置','if_show'=>true],
				'cache'=>['name'=>'验证码参数设置','if_show'=>true]
			]
		],
		"modular"=>[
			'name'=>"模块管理",
			"power"=>[
				'index'=>['name'=>'模块列表','if_show'=>true],
				'edit'=>['name'=>'模块编辑','if_show'=>false],
				'install'=>['name'=>'模块安装','if_show'=>false],
				'user_show'=>['name'=>'设置会员中心状态显示与否','if_show'=>false],
				'del'=>['name'=>'模块删除','if_show'=>false],
				'copy'=>['name'=>'模块复制','if_show'=>false],
				'state'=>['name'=>'模块状态开启|关闭操作','if_show'=>false],
			]
		],
		"pinyin"=>[
			'name'=>"生成拼音",
			"power"=>[
				'pinyin'=>['name'=>'生成拼音（此权限可以无限开放）','if_show'=>false],
			]
		],
		"plugin"=>[
			'name'=>"插件管理",
			"power"=>[
				'index'=>['name'=>'插件列表','if_show'=>true],
				'install'=>['name'=>'安装插件','if_show'=>true],
				'edit'=>['name'=>'插件编辑','if_show'=>false],
				'del'=>['name'=>'插件删除','if_show'=>false],
				'copy'=>['name'=>'插件复制','if_show'=>false],
				'state'=>['name'=>'插件状态开启|关闭操作','if_show'=>false],
				'user_show'=>['name'=>'插件前台会员中心状态开启|关闭操作','if_show'=>false],
			]
		],
		"hook"=>[
			'name'=>"钩子管理",
			"power"=>[
				'index'=>['name'=>'预埋钩子接口管理','if_show'=>true],
				'hook_list'=>['name'=>'钩子API接口管理','if_show'=>true],
			]
		],
		"homemenu"=>[
			'name'=>"网站导航菜单设置",
			'power'=>[
				'index'=>['name'=>'网站导航菜单列表','if_show'=>true],
				'add'=>['name'=>'网站导航菜单添加','if_show'=>false],
				'edit'=>['name'=>'网站导航菜单修改','if_show'=>false],
				'del'=>['name'=>'网站导航菜单删除','if_show'=>false],
				'state'=>['name'=>'网站导航菜单状态设置','if_show'=>false],
			]
		],
		"upfile"=>[
			'name'=>"文件上传",
			'power'=>[
				'up'=>['name'=>'文件上传权限','if_show'=>false],
			]
		],
		"group"=>[
			'name'=>"群组管理",
			"power"=>[
				'add'=>['name'=>'创建用户组','if_show'=>true],
				'edit'=>['name'=>'修改用户组','if_show'=>false],
				'del'=>['name'=>'删除用户组','if_show'=>true],
				'power'=>['name'=>'用户组设置','if_show'=>true],
			]
		],
		"user"=>[
			'name'=>'用户管理',
			"power"=>[
				'add'=>['name'=>'创建用户','if_show'=>true],
				'index'=>['name'=>'用户管理','if_show'=>true],
				'edit'=>['name'=>'用户编辑','if_show'=>false],
				'yz'=>['name'=>'用户审核','if_show'=>false],
				'del'=>['name'=>'用户删除','if_show'=>false],
			]
		],
		"renzheng"=>[
			'name'=>'认证管理',
			"power"=>[
				'setting'=>['name'=>'认证设置','if_show'=>true],
				'index'=>['name'=>'认证用户列表管理','if_show'=>true],
				'content'=>['name'=>'认证用户详情','if_show'=>false]
			]
		],
		"hook"=>[
			'name'=>'钩子管理',
			"power"=>[
				'index'=>['name'=>'管理预埋钩子点(增，删，改)','if_show'=>true],
				'hook_list'=>['name'=>'管理所有钩子api(增，删，改)','if_show'=>true],
				'hook_state'=>['name'=>'钩子状态更改','if_show'=>false]
			]
		],
		"cloud"=>[
			'name'=>'云平台管理',
			"power"=>[
				'modular'=>['name'=>'云平台模块安装','if_show'=>true],
				'plugin'=>['name'=>'云平台插件安装','if_show'=>true],
				'hook'=>['name'=>'云平台钩子安装','if_show'=>true],
				'tpl'=>['name'=>'云平台模板安装','if_show'=>true],
				'get_cloud_data'=>['name'=>'获取云平台数据（必选项）','if_show'=>true]
			]
		],
		"upgrade"=>[
			'name'=>'在线云升级',
			"power"=>[
				'all'=>['name'=>'获取所有升级数据','if_show'=>true],
				'mvc'=>['name'=>'获取主数据升级数据','if_show'=>true],
				'modular'=>['name'=>'获取模块升级数据','if_show'=>true],
				'plugin'=>['name'=>'获取插件升级数据','if_show'=>true],
				'test_upgrade'=>['name'=>'检测升级情况','if_show'=>true],
				'post'=>['name'=>'开始升级数据（必选）','if_show'=>true],
				'upgrade'=>['name'=>'开始解析升级数据（必选）','if_show'=>true]
			]
		],
		"articles"=>[
			'name'=>'文章管理',
			"power"=>[
				'add'=>['name'=>'添加文章','if_show'=>true],
				'index'=>['name'=>'文章列表','if_show'=>true],
				'edit'=>['name'=>'文章编辑','if_show'=>false],
				'del'=>['name'=>'文章删除','if_show'=>false],
				'ajax_module'=>['name'=>'动态获取模型','if_show'=>false],
				'batch_edit'=>['name'=>'批量|单个审核或者推荐（组合）','if_show'=>false],
			]
		],
		"category"=>[
			'name'=>'分类栏目',
			"power"=>[
				'add'=>['name'=>'添加分类','if_show'=>true],
				'index'=>['name'=>'分类列表','if_show'=>true],
				'edit'=>['name'=>'编辑分类','if_show'=>false],
				'del'=>['name'=>'删除分类','if_show'=>false],
				'batch_action'=>['name'=>'批量排序','if_show'=>false],
			]
		],
		"comment"=>[
			'name'=>'评论管理',
			"power"=>[
				'state'=>['name'=>'审核评论','if_show'=>true],
				'index'=>['name'=>'评论列表','if_show'=>true],
				'del'=>['name'=>'删除评论','if_show'=>false],
			]
		],
		"module"=>[
			'name'=>'模型管理',
			"power"=>[
				'add'=>['name'=>'添加模型','if_show'=>true],
				'index'=>['name'=>'模型列表','if_show'=>true],
				'del'=>['name'=>'删除模型','if_show'=>false],
				'state'=>['name'=>'模型状态设置','if_show'=>false],
				'edit'=>['name'=>'修改模型','if_show'=>false],
				'reorder'=>['name'=>'模型排序','if_show'=>false],
				'field_reorder'=>['name'=>'字段排序','if_show'=>false],
				'field_list'=>['name'=>'字段列表','if_show'=>false],
				'del_field'=>['name'=>'删除字段','if_show'=>false],
				'field_add'=>['name'=>'添加字段','if_show'=>false],
				'edit_field'=>['name'=>'修改字段','if_show'=>false],
				'ajax_field'=>['name'=>'动态获得字段内容','if_show'=>false],
			]
		],
		"special"=>[
			'name'=>'专题管理',
			"power"=>[
				'category'=>['name'=>'专题栏目列表','if_show'=>true],
				'category_edit'=>['name'=>'专题栏目修改','if_show'=>false],
				'batch_category_action'=>['name'=>'批量排序或目录','if_show'=>false],
				'category_del'=>['name'=>'删除分类','if_show'=>false],
				'edit'=>['name'=>'编辑专题','if_show'=>false],
				'del'=>['name'=>'删除专题','if_show'=>false],
				'add'=>['name'=>'创建专题','if_show'=>false],
				'index'=>['name'=>'专题列表','if_show'=>false],
				'articles'=>['name'=>'专题文章管理','if_show'=>false],
				'ajax_article'=>['name'=>'获取动态文章','if_show'=>false],
				'articls_del'=>['name'=>'单个删除专题文章','if_show'=>false],
				'batch_article_action'=>['name'=>'批量排序删除专题文章','if_show'=>false],
				'ajax_add_article'=>['name'=>'动态将文章插入专题','if_show'=>false],
				'comment'=>['name'=>'专题评论','if_show'=>false],
				'comment_action'=>['name'=>'删除或审核专题评论','if_show'=>false],
			]
		],
	]
]
?>