mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Don't require authentication to approve/deny a copy request. Possession of the token is sufficient.
This commit is contained in:
@@ -218,7 +218,7 @@ public class RequestItemRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@PreAuthorize("isAuthenticated()")
|
@PreAuthorize("permitAll()")
|
||||||
public RequestItemRest put(Context context, HttpServletRequest request,
|
public RequestItemRest put(Context context, HttpServletRequest request,
|
||||||
String apiCategory, String model, String token, JsonNode requestBody)
|
String apiCategory, String model, String token, JsonNode requestBody)
|
||||||
throws AuthorizeException {
|
throws AuthorizeException {
|
||||||
|
Reference in New Issue
Block a user