add team and site white and black list

fixes first part of #5351