@@ -500,7 +500,7 @@ func (this *UserAuthController) Info() {
}
- if hasPermission == "" {
+ if hasPermission == "" || user.Status == utils.UserStatusNo {
hasPermission = "公有权限"
miniconf, err := models.GetMiniConf()