-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Organization/Team membership for new users #7194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I also need this/these feature/features. |
Yes, a perfect scenario would be for this to be a dynamic feature: gitea could get group membership externaly and there would be a group <---> team relationship on each organization, and users will be added/removed automatically when there are any changes. For unix/linux environments a general solution could be the command "id -Gn user" (there is a -z flag to force the separator to be \0 to support group names with spaces on them); this would be nice because it's just a system configuration and doesn't depend on the technology. For windows, there are other methods (like get-aduser in powershell). The problem is to generalize this feature to something already supported by gitea (pam, ldap, etc.) and make it consistent. Ideally this could be some kind of plugin or extension linked to the organization. |
Well, digging deeper in the documentation I now realize that we can use the API for such level of customization. Kudos to the Gitea team. |
I would find this useful too. |
I would really like for this to stay alive. |
In gitlab this function works like this. |
Could this enhancement in gogs help here? |
We've implemented mapping LDAP groups to teams in (all) organizations (by group/team name) and published it here, if anyone is interested, |
We run gitea for about 200 people in a research institute. The ability to map LDAP groups to teams and organizations would reduce day-to-day administration significantly. I will try to adapt your approach to our needs. Will report on the progress - but don't hold your breadth... |
|
[x]
):Description
I'm using Gitea for a pretty small organization (20-30 members, but continuously changing) with LDAP (simple auth) login. When a new user logs in for the first time, I want them to have full access to all repositories owned by a organization ('MyOrga').
Is there a way to add any user to a team (for example 'Developers' in organization 'MyOrga') on first login?
(Alternative, more general approach: Map LDAP groups to teams in organizations. This would be nice to grant extra permissions based on the LDAP group; a default team membership would be realized using a filter returning true. Already proposed: #2121, #2212)
The text was updated successfully, but these errors were encountered: