Users in Team with Administrator permissions get 404 when accessing repository #2201

Closed
opened 2025-11-02 04:26:52 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @weirdbiz on GitHub (Aug 15, 2018).

Gitea version (or commit ref): 1.5.0

  • Git version: 2.18.0-windows.1
  • Operating system: Windows 7 Professional
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
    • No
    • Not relevant
  • Log gist:

Description

Issue: Users in Team with Administrator permissions get 404 when accessing private repository.

Steps to reproduce:

  1. User1 creates: Organization, Private Repository inside it, Team with Administrative permissions to that Repository.
  2. User1 adds User2 to the Team created before.
  3. User2 opens link to the Repository and gets 404.

Bug is reproducible only with Teams that have Administrator permissions. Teams with Read or Write permissions work fine.

Originally created by @weirdbiz on GitHub (Aug 15, 2018). Gitea version (or commit ref): 1.5.0 - Git version: 2.18.0-windows.1 - Operating system: Windows 7 Professional - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes - [ ] No - [ ] Not relevant - Log gist: ## Description **Issue**: Users in Team with Administrator permissions get 404 when accessing private repository. Steps to reproduce: 0. _User1_ creates: Organization, Private Repository inside it, Team with Administrative permissions to that Repository. 1. _User1_ adds _User2_ to the Team created before. 2. _User2_ opens link to the Repository and gets 404. Bug is reproducible only with Teams that have Administrator permissions. Teams with Read or Write permissions work fine.
GiteaMirror added the type/bug label 2025-11-02 04:26:52 -06:00
Author
Owner

@lunny commented on GitHub (Aug 15, 2018):

Please give the link you reproduce that on try.gitea.io

@lunny commented on GitHub (Aug 15, 2018): Please give the link you reproduce that on try.gitea.io
Author
Owner

@adelowo commented on GitHub (Aug 15, 2018):

Would try to replicate this in a bit

@adelowo commented on GitHub (Aug 15, 2018): Would try to replicate this in a bit
Author
Owner

@weirdbiz commented on GitHub (Aug 15, 2018):

Sorry, forgot important thing: Repository should be Private.

@weirdbiz commented on GitHub (Aug 15, 2018): Sorry, forgot important thing: Repository should be Private.
Author
Owner

@adelowo commented on GitHub (Aug 15, 2018):

Can confirm bug exists.... Would look at sending a fix before the day runs out

@adelowo commented on GitHub (Aug 15, 2018): Can confirm bug exists.... Would look at sending a fix before the day runs out
Author
Owner

@rvillablanca commented on GitHub (Aug 21, 2018):

when is possible get this fix ? I mean, are you planning make a minor release for this ?

@rvillablanca commented on GitHub (Aug 21, 2018): when is possible get this fix ? I mean, are you planning make a minor release for this ?
Author
Owner

@adelowo commented on GitHub (Aug 21, 2018):

It will be backported to 1.5

I’ve sent a PR already ( #4719 ) and it requires approval from one more maintainer

@adelowo commented on GitHub (Aug 21, 2018): It will be backported to 1.5 I’ve sent a PR already ( #4719 ) and it requires approval from one more maintainer
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2201