该系统为使用PHP开发的基于web的Subversion(SVN)服务器端管理工具。支持功能:SVN仓库管理、SVN用户管理、SVN分组管理、目录授权、目录浏览、Hooks管理、在线dump备份、在线备份恢复、SVN用户禁用、服务器状态管理、日志管理、消息通知、更新检测...
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* @Author: witersen
|
|
|
|
* @Date: 2022-04-26 00:24:31
|
|
|
|
* @LastEditors: witersen
|
|
|
|
* @LastEditTime: 2022-05-07 01:31:13
|
|
|
|
* @Description: QQ:1801168257
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 自定义全局权限路由表
|
|
|
|
*
|
|
|
|
* 路由规则:控制器/方法
|
|
|
|
* 白名单路由:即无需鉴权的请求
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
/**
|
|
|
|
* 管理系统白名单路由
|
|
|
|
*/
|
|
|
|
"public" => [
|
|
|
|
'web' => [
|
|
|
|
'Common/Login',
|
|
|
|
'Common/GetVerifyCode',
|
|
|
|
'Safe/GetVerifyOption',
|
|
|
|
'Svnrep/DownloadRepBackup'
|
|
|
|
],
|
|
|
|
'mini' => []
|
|
|
|
],
|
|
|
|
|
|
|
|
/**
|
|
|
|
* SVN用户有权限路由
|
|
|
|
*/
|
|
|
|
'svn_user_routers' => [
|
|
|
|
'Svnrep/GetSvnUserRepList',
|
|
|
|
'Svnrep/GetUserRepCon',
|
|
|
|
|
|
|
|
'Common/Logout',
|
|
|
|
|
|
|
|
'Svn/GetCheckout',
|
|
|
|
'Svn/GetStatus',
|
|
|
|
|
|
|
|
'Personal/EditSvnUserPass',
|
|
|
|
],
|
|
|
|
];
|