Student with cancer not allowed to 'walk' at graduation