DRONE_USER_FILTER doesn't seem to work for Bitbucket

Setup details:

  • drone version : 1.0.0-rc.5
  • DRONE_USER_FILTER=my username or bitbucket team

Setting the DRONE_USER_FILTER with bitbucket does not seem to have any effect.
Drone allows me to login as another user (in the case of setting user) or a user which does not belong to the bitbucket team (in the case of setting team).

Once logged in, the user does not have access to any repositories, but I believe the purpose of DRONE_USER_FILTER is to reject access to anyone not in the list.

Am I missing something ?