|
@@ -15,7 +15,7 @@ import (
|
|
var entAdminIntercept = regexp.MustCompile("^/nicheinsight/(move|delete|(department|person)/.+)$")
|
|
var entAdminIntercept = regexp.MustCompile("^/nicheinsight/(move|delete|(department|person)/.+)$")
|
|
|
|
|
|
//不需要企业管理员权限
|
|
//不需要企业管理员权限
|
|
-var entAdminPass = regexp.MustCompile("^/nicheinsight/person/manager$")
|
|
|
|
|
|
+var entAdminPass = regexp.MustCompile("^/nicheinsight/person/(manager|detail)$")
|
|
|
|
|
|
//登录限制
|
|
//登录限制
|
|
type sessionfilter struct {
|
|
type sessionfilter struct {
|