mirror of https://github.com/go-gitea/gitea.git
Browse Source
Backport #13092 `models.getUserRepoPermission(...)` calls `HasOrgVisible` which uses `models.x` potentially outside of the transaction `e` provided as an argument to `getUserRepoPermission`. This PR switches to use `hasOrgVisible(e, ...)`. Fix #12983 Signed-off-by: Andrew Thornton <art27@cantab.net>pull/13098/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue