charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.41k stars 139 forks source link

feat: support group and teams #257

Open aymanbagabas opened 1 year ago

aymanbagabas commented 1 year ago

Describe the solution you'd like Add support for group and team based ACLs

Be able to specify repo ACLs for teams and users. Set the default to read-write for new repositories and read-only for public repositories.

Similar to what Gitolite ACLs offer but using SSH instead. Perhaps support importing Gitolite conf syntax

jon4hz commented 1 year ago

Support for groups and teams is an amazing idea!

If you're already touching the authentication / authorization parts of soft-serve, what do you think about adding support for ldap auth, too?

aymanbagabas commented 1 year ago

Hey @jon4hz! That's a fond idea. Soft Serve now can support new backends as long as they implement the interface. The idea I have in mind is to implement different backends as Go plugins.

This is still in the works and the API is subject to change. I would love to hear your thoughts on this 🙂

jon4hz commented 1 year ago

Hi, sorry for getting back so late. To be honest, I never implemented ldap as backend myself so I'm not sure what the obstacles are. However I did self host gitlab for a short time and I think they are provisioning the ldap users in the same db as the "normal" users.