Browse Source

Merge pull request 'fix-882 修改审核人查询范围,从 大于只读的协作者 到 大于写的协作者' (#1015) from fix-882 into V20211213

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1015
Reviewed-by: lewis <747342561@qq.com>
tags/v1.21.12.1^2
lewis 4 years ago
parent
commit
ee769014c5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@@ -671,7 +671,7 @@ func (repo *Repository) getReviewersPublic(e Engine, doerID, posterID int64) (_


if err = e. if err = e.
SQL(SQLCmd, SQL(SQLCmd,
repo.ID, AccessModeRead, doerID, posterID).
repo.ID, AccessModeWrite, doerID, posterID).
Find(&users); err != nil { Find(&users); err != nil {
return nil, err return nil, err
} }


Loading…
Cancel
Save