@Override
protected NSArray defaultBranchChoices(D2WContext context) {
NSArray result = super.defaultBranchChoices(context);
log.debug("in: " + result);
Framework framework = (Framework)object(context);
boolean ownerIsSelf = ERXEOControlUtilities.eoEquals(framework.owner(), People.clazz.currentUser(framework.editingContext()));
if(framework == null || (framework.owner() != null && !ownerIsSelf)) {
result = choiceByRemovingKeys(new NSArray("grabHat"), result);
result = choiceByRemovingKeys(new NSArray("returnHat"), result);
} else if(ownerIsSelf) {
result = choiceByRemovingKeys(new NSArray("grabHat"), result);