Closed
Description
- Gitea version (or commit ref): 6ca8fbd
- 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)