Home > other >  GitLab use the API to prevent users
GitLab use the API to prevent users

Time:11-23

GitLab use the API to prevent user

API for example
POST/users/: id/unblock

I wrote as example

http://11.122.143.13:8815/api/v4/users/:626/block

http://11.122.143.13:8815/users/:626/block

Did not make bosses to solve under appreciated ~

CodePudding user response:

Modify the configuration file and start using the filter, such as building a AD groups, to this group of people you will refuse collection
User_filter: '(! (memberOf: 1.2.840.113556.1.4.1941:=CN=ABCDEFG, OU=Group, OU=ABCDEFG, OU=ABCDEFG, DC ABCDEG DC ABCDEFG, DC ABCDEFG)) '
  • Related