<?php
/*
 +----------------------------------------------------------------------
 | TEMMOKUMVC [ NO BEST, ONLY BETTER ]
 +----------------------------------------------------------------------
 | Copyright (c) 2018~2019 https://www.temmoku.cn All rights reserved.
 +----------------------------------------------------------------------
 | Author: 张宗强 Email:webmaster@temmoku.cn QQ:158726877 516669373 TEL:17895221001 微信:temmokumvc
 +---------------------------------------------------------------------- 
*/
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],
			]
		],
		"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]
			]
		],
	]
]
?>