Simon Taylor marked his return to action for Edinburgh after a year out with injury by scoring a try against Leinster on Saturday night.
Edinburgh (24) 41
Tries: Dickinson 2, Taylor, Lee, Godman, Di Rollo, Webster
Cons: Laney 3
Leinster (14) 33
Tries: Lewis, Easterby, Warner 2, Holwell
Cons: Holwell 4
Taylor's effort was one of seven Edinburgh tries, with prop Ally Dickinson grabbing a brace.
Christian Warner scored twice for Leinster but although the Dublin side narrowed the gap Edinburgh held on.
Taylor could now find himself thrust back into Six Nations action in next week's wooden spoon clash with Italy.
He got on the scoresheet just after the half-hour mark when he seized on a loose Leinster lineout for a converted try.
Edinburgh had already taken the lead when Dickinson plunged over near the right corner to cap several phases of Gunners possession.
Leinster hit back after Taylor's try when Kieran Lewis darted over for a converted score, but Edinburgh added two more tries before the break.
First Derrick Lee completed a slick passing move to score in the corner before Phil Godman's touchdown, converted by Laney, gave Todd Blackadder's men a 17-point cushion.
Guy Easterby handed Leinster a lifeline on the stroke of half-time when he punished dozy Edinburgh defending to nip in under the posts, giving David Holwell an easy conversion.
The Gunners were stunned again on the restart when Christian Warner outpaced the home defence to touch down Holwell's chip kick.
The stand-off's conversion reduced the leeway to just five but they enjoyed a slice of luck when Marcus Di Rollo sprinted home from halfway for a vital interception try.
Simon Webster then boosted his hopes of a Scotland call-up with a sizzling score in the corner after a sweeping move by the Murrayfield men.
Dickinson doubled his tally moments later before Warner added his own second, converted by Holwell.
Holwell then set up a jittery conclusion for the Gunners by converting his own try with six minutes remaining, but the home side withstood fierce Irish pressure to claim the points.
Edinburgh: D Lee, M Pyke, M Di Rollo, B Laney, S Webster, P Godman, M Blair, A Dickinson, D Hall, C Smith, N Hines, A Kellock, Todd Blackadder (capt), S Taylor, S Cross.
Replacements: A Kelly, P Wharakura, F Pringle, D Callam, R Lawson, C Joiner, R Dewey.
Leinster: D Hewitt, J McWeeney, C Warner, D Quinlan, K Lewis, D Holwell, G Easterby, J Lyne, D Blaney, R Nebbett, V Costello, B Gissing, C Potts, S Jennings (capt), E Miller.
Replacements: P Coyle, G Hickie, A McCullen, D Dillon, B O'Riordan, D McAllister, J Norton.
Referee: Stuart Dickinson (Australia).