go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.07k stars 5.31k forks source link

Generalizing the functionality for adding members in the members tab for organizations. #30941

Open Yakov5776 opened 1 month ago

Yakov5776 commented 1 month ago

Feature Description

I propose the ability to add members in the org directly from the the Members tab.

Currently, the Members tab simply enumerates all members across all teams, and it could get confusing because you may not know why those users are there (or which team they're in) or how/where to add them.

I do believe that Instead, teams should function more like roles assigned to users rather than being the primary criteria for their inclusion in the organization. it should be solely based off their presence in the default members team which could set the default permissions.

The Add members dialog could have the optional step to add them to a team(s)

Screenshots

image ('Add member' button added for illustrative purposes)

lunny commented 1 month ago

I think maybe an org member who doesn't belong to any team has meaning because of private/limit organizations that exist.