Skip to content

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

Closed
@maxtruxa

Description

@maxtruxa
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions