Proposal: Adding organization members as collaborators on org-owned repos #2092

Closed
opened 2025-11-02 04:23:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @maxtruxa on GitHub (Jul 24, 2018).

  • Gitea version (or commit ref): v1.5.0-rc1
  • Git version: 2.14.2
  • Operating system: Windows
  • 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: N/A

Description

Trying to add a user which is part of the organization owning a repository as collaborator fails with the message "The user is an organization member who cannot be added as a collaborator.". Would it be possible to allow this (GitHub for example does)? We want to explicitly grant write access to single users without creating new teams.
Code in question is here.

Screenshots

gitea-org-collaborator

Originally created by @maxtruxa on GitHub (Jul 24, 2018). - Gitea version (or commit ref): v1.5.0-rc1 - Git version: 2.14.2 - Operating system: Windows - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: N/A ## Description Trying to add a user which is part of the organization owning a repository as collaborator fails with the message "The user is an organization member who cannot be added as a collaborator.". Would it be possible to allow this (GitHub for example does)? We want to explicitly grant write access to single users without creating new teams. Code in question is [here](https://github.com/go-gitea/gitea/blob/1bff02de55331e11de3627d5c5628feb2cd97387/routers/repo/setting.go#L393). ## Screenshots ![gitea-org-collaborator](https://user-images.githubusercontent.com/1788010/43130021-f6792052-8f35-11e8-8226-230a68a841e2.png)
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 04:23:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2092