From 5243f25f4acf46fe9140c2ef376dd99b6d538a42 Mon Sep 17 00:00:00 2001 From: Brian Simpson Date: Mon, 1 Sep 2014 23:25:43 -0400 Subject: [PATCH] Allow all users to view a requested ad. Previously this was only allowed for sponsors or the owner of the ad. --- r2/r2/controllers/listingcontroller.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 07fd2849f..ce34f3047 100644 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -237,11 +237,6 @@ class ListingWithPromos(SubredditListingController): except NotFound: self.abort404() - if not (link.promoted and - (c.user_is_sponsor or - c.user_is_loggedin and link.author_id == c.user._id)): - self.abort403() - if not promote.is_live_on_sr(link, c.site): self.abort403()