Skip to content

Go script for syncing LDAP user group membership to Gitea

Notifications You must be signed in to change notification settings

thoscut/gitea-group-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitea-group-sync

This application adds users to the appropriate groups.

You must have configured your LDAP with gitea

Here I will give the settings for a simple LDAP, you can configure by changing the code as you like

If you configured the Gitea <=> LDAP connection correctly, you should have users

You need to create Manage Access Tokens and add key to run.sh or docker-compose.yml the configuration file

The application supports several keys, since to add people to the group you must be the owner of the organization.

create organizations in gitea

add the appropriate groups in our case: ship_crew, admin_staff

Usage

REP_TIME: '@every 1m' -- you can change the synchronization time of groups

docker-compose up

or

./run.sh

Realise

About

Go script for syncing LDAP user group membership to Gitea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.9%
  • Dockerfile 3.6%
  • Shell 3.5%