Fix Version API permissions classes (bug 946256)