diff --git a/lib/SGN/Controller/AJAX/Accessions.pm b/lib/SGN/Controller/AJAX/Accessions.pm index 2fec216059..231722c055 100644 --- a/lib/SGN/Controller/AJAX/Accessions.pm +++ b/lib/SGN/Controller/AJAX/Accessions.pm @@ -86,10 +86,10 @@ sub verify_accession_list_POST : Args(0) { my @organism_list = $organism_list_json ? @{_parse_list_from_json($c, $organism_list_json)} : []; my $do_fuzzy_search = $c->req->param('do_fuzzy_search'); - if ($user_role ne 'curator' && !$do_fuzzy_search) { - $c->stash->{rest} = {error=>'Only a curator can add accessions without using the fuzzy search!'}; - $c->detach(); - } + #if ($user_role ne 'curator' && !$do_fuzzy_search) { + # $c->stash->{rest} = {error=>'Only a curator can add accessions without using the fuzzy search!'}; + # $c->detach(); + #} if ($do_fuzzy_search) { $self->do_fuzzy_search($c, \@accession_list, \@organism_list); @@ -239,10 +239,10 @@ sub verify_accessions_file_POST : Args(0) { my $do_fuzzy_search = $user_role eq 'curator' && !$c->req->param('fuzzy_check_upload_accessions') ? 0 : 1; my $append_synonyms = !$c->req->param('append_synonyms') ? 0 : 1; - if ($user_role ne 'curator' && !$do_fuzzy_search) { - $c->stash->{rest} = {error=>'Only a curator can add accessions without using the fuzzy search!'}; - $c->detach(); - } + #if ($user_role ne 'curator' && !$do_fuzzy_search) { + # $c->stash->{rest} = {error=>'Only a curator can add accessions without using the fuzzy search!'}; + # $c->detach(); + #} # These roles are required by CXGN::UploadFile if ($user_role ne 'curator' && $user_role ne 'submitter' && $user_role ne 'sequencer' ) { diff --git a/mason/breeders_toolbox/add_accessions_dialogs.mas b/mason/breeders_toolbox/add_accessions_dialogs.mas index 78618895a7..9e2c06e5fb 100644 --- a/mason/breeders_toolbox/add_accessions_dialogs.mas +++ b/mason/breeders_toolbox/add_accessions_dialogs.mas @@ -47,13 +47,13 @@ $editable_stock_props_definitions