Skip to content

Commit

Permalink
fix forbid_rename from denying uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
din-mukhammed committed Aug 16, 2023
1 parent 050f611 commit a9488ab
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,6 @@ func (fsh *StorageHandler) CreateConnection(ctx context.Context, r *http.Request
return nil, common.NewError("invalid_parameters", "Invalid allocation id passed."+err.Error())
}

if !allocationObj.CanRename() {
return nil, common.NewError("prohibited_allocation_file_options", "Cannot rename data in this allocation.")
}

clientID := ctx.Value(constants.ContextKeyClient).(string)
_ = ctx.Value(constants.ContextKeyClientKey).(string)

Expand Down

0 comments on commit a9488ab

Please sign in to comment.