looks like this class does not actually deal with repo protection.