Skip to content

access repo Home: You are not allowed to access any section of this repository. #5253

Closed
@shadowsingle

Description

@shadowsingle
  • Gitea version (or commit ref):
    v1.5.x v1.4.x v1.2.x
  • Git version:
    git 1:2.11.0-3
  • Operating system:
    debian 9.5
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    http://paste.ubuntu.com.cn/4364718

Description

1、./gitea web
2、 init data and create first users
3、 create repo (jump 404 website )
4、click repo url the problem is still.

add trace code in view.go
http://paste.ubuntu.com.cn/4364715
and i found the len(ctx.Repo.Repository.Units) is 0 .
but i found the table (repo_unit ) on database that can found 5 record.

Screenshots

x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions