}
ResourcePolicy rp = null;
if( (rp= AuthorizeManager.createOrModifyPolicy(null, context, name, groupID, null, dateStartDate, org.dspace.core.Constants.READ, reason, b))==null){
return STATUS_EDIT_POLICIES_DUPLICATED_POLICY;
}
rp.update();
context.commit();
return STATUS_EDIT_POLICIES;
}
// FORM: EditBitstreamPolicies SELECTED OPERATION: go to EditPolicyForm
else if(org.dspace.submit.step.AccessStep.wasEditPolicyPressed(context, buttonPressed, subInfo)){