I need to limit users who can get access to my drone server instance. This drone working with github. I tried to use this variables https://docs.drone.io/installation/reference/drone-user-filter/ and set it to my organisation name, but seems like it not changing effect at all; I’m still able to signup/signin into drone with github user who is outside my organisation. Any help to track and fix this problem?
My drone server docker start script:
docker run \
--volume=/var/lib/drone:/data \
--env=DRONE_AGENTS_ENABLED=true \
--env=DRONE_GITHUB_SERVER=https://github.com \
--env=DRONE_GITHUB_CLIENT_ID=xxx \
--env=DRONE_GITHUB_CLIENT_SECRET=xxx \
--env=DRONE_DATABASE_SECRET=xxx \
--env=DRONE_RPC_SECRET=xxx \
--env=DRONE_TLS_AUTOCERT=true \
--env=DRONE_SERVER_HOST=xxx \
--env=DRONE_SERVER_PROTO=https \
--env=DRONE_OPEN=false \
--env=DRONE_USER_FILTER=my_organisation_name \
--publish=443:443 \
--restart=always \
--detach=true \
--name=drone \
drone/drone:1