Skip to content

Commit

Permalink
Replace authentication on getObservingProposal()
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanEngland committed Mar 7, 2024
1 parent 1d46599 commit 7a21fe8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public List<ProposalSynopsis> getProposals(@RestQuery String investigatorName, @
description = "get a single Proposal specified by the code"
)
@Path(proposalRoot)
// @RolesAllowed("default-roles-orppst")
@RolesAllowed("default-roles-orppst")
public ObservingProposal getObservingProposal(@PathParam("proposalCode") Long proposalCode)
throws WebApplicationException
{
Expand Down Expand Up @@ -575,7 +575,7 @@ public ObservingProposal importProposal(ObservingProposal importProposal) throws
newProposal::removeFromSupportingDocuments);
}

//Import supporting documents here or another function?
//Import supporting documents separately.
return newProposal;
}

Expand Down

0 comments on commit 7a21fe8

Please sign in to comment.