This is an automated email from the ASF dual-hosted git repository.

LinkinStars pushed a change to branch fix/2.0.3/user
in repository https://gitbox.apache.org/repos/asf/answer.git


    from 61ff3ea1 fix: hide hidden questions from public answer profiles
     new a52cc0ae fix(security): enforce personal comment visibility
     new 41a9d887 fix(security): restrict similar question visibility
     new 372f0776 fix(security): revoke stale visit tokens
     new 76739fcf fix(security): enforce mutation visibility checks

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 internal/base/middleware/visit_img_auth_test.go    | 155 +++++++++++++++++++++
 internal/controller/answer_controller.go           |   3 +-
 internal/controller/comment_controller.go          |   9 +-
 internal/controller/question_controller.go         |  12 +-
 internal/controller/report_controller.go           |   3 +-
 internal/controller/vote_controller.go             |   6 +-
 internal/repo/auth/auth.go                         |  16 +++
 internal/schema/answer_schema.go                   |  23 +--
 internal/schema/comment_schema.go                  |   7 +-
 internal/schema/report_schema.go                   |   7 +-
 internal/schema/vote_schema.go                     |  11 +-
 internal/service/auth/auth.go                      |   7 +-
 internal/service/comment/comment_service.go        |  47 ++++---
 .../comment/comment_service_visibility_test.go     |  95 +++++++++++++
 internal/service/content/answer_service.go         |   8 ++
 internal/service/content/question_service.go       |  16 ++-
 .../content/question_service_visibility_test.go    |  75 ++++++++++
 internal/service/content/vote_service.go           |   6 +
 internal/service/report/report_service.go          |   3 +
 internal/service/user_admin/user_backyard.go       |   1 +
 20 files changed, 460 insertions(+), 50 deletions(-)
 create mode 100644 internal/base/middleware/visit_img_auth_test.go
 create mode 100644 internal/service/comment/comment_service_visibility_test.go

Reply via email to