Admin team's permission is dependent on user selected permissions #2237

Closed
opened 2025-11-02 04:28:58 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @adelowo on GitHub (Aug 23, 2018).

  • Gitea version (or commit ref): 6ca8fbd2f9
  • Git version: git version 2.15.2 (Apple Git-101.1)
  • Operating system: MacOS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

STEPS :

  • Create new team

  • In permissions, choose any of read and write, then untick code, issues, pull requests .

  • Then choose Administrator access in permissions

  • Then Update settings

  • Add a repository to the team,

  • Add a non admin user to the team

  • Access the repository, The user would not have any of the unticked permissions earlier even though he is in a team with admin access. ( for instance, he cannot view issues, PRs )

I would expect that the admin team gets all available permissions regardless of the selection(s)

Originally created by @adelowo on GitHub (Aug 23, 2018). - Gitea version (or commit ref): 6ca8fbd2f94a1a02e1776a1d62ad2fb897839e47 - Git version: git version 2.15.2 (Apple Git-101.1) - Operating system: MacOS - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description STEPS : - Create new team - In permissions, choose any of read and write, then untick code, issues, pull requests . - Then choose Administrator access in permissions - Then Update settings - Add a repository to the team, - Add a non admin user to the team - Access the repository, The user would not have any of the unticked permissions earlier even though he is in a team with admin access. ( for instance, he cannot view issues, PRs ) I would expect that the admin team gets all available permissions regardless of the selection(s)
GiteaMirror added the type/bug label 2025-11-02 04:28:58 -06:00
Author
Owner

@lunny commented on GitHub (Oct 26, 2018):

admin Team should have write permissions of all the units on the repositories of the organization.

@lunny commented on GitHub (Oct 26, 2018): admin Team should have write permissions of all the units on the repositories of the organization.
Author
Owner

@lunny commented on GitHub (Nov 28, 2018):

should be fixed by #5314 , close now and please feel free to reopen.

@lunny commented on GitHub (Nov 28, 2018): should be fixed by #5314 , close now and please feel free to reopen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2237