Closed
Bug 509729
Opened 15 years ago
Closed 15 years ago
Download buttons for Experimental add-ons are enabled for anonymous users
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
5.4
People
(Reporter: krupa.mozbugs, Assigned: rdoherty)
References
()
Details
Attachments
(1 file, 1 obsolete file)
1.28 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
steps to reproduce:
1.Go to https://preview.addons.mozilla.org/en-US/thunderbird/search?q=&cat=all&as=1&vfuz=true&appid=18&lver=any&hver=any&atype=0&pp=20&pid=2&sort=&lup=&show=20&page=35
2.Notice add-ons-Grippies and RegURL
observed behavior:
Both add-ons look like experimental add-ons ,but have the download button enabled when user is not logged in.
screenshot: http://screencast.com/t/YFiWFjEBB8u
Reporter | ||
Updated•15 years ago
|
Summary: Download buttons for Experimental add-ons is enabled for anonymous users → Download buttons for Experimental add-ons are enabled for anonymous users
Comment 1•15 years ago
|
||
Worth investigating but not a new bug so kicking out of 5.0.9.
Target Milestone: 5.0.9 → ---
Reporter | ||
Comment 2•15 years ago
|
||
see also the add-on:"Newsbar"
https://preview.addons.mozilla.org/en-US/firefox/browse/type:1/cat:72?show=100&exp=on&only=on&sort=newest&page=2
and the addon-Newsbar
https://preview.addons.mozilla.org/en-US/firefox/addon/6072
Target Milestone: --- → 5.3
Comment 3•15 years ago
|
||
-> rdoherty. This situation shouldn't ever occur, right?
Assignee: nobody → rdoherty
Severity: major → minor
Priority: -- → P3
Target Milestone: 5.3 → 5.4
Assignee | ||
Comment 4•15 years ago
|
||
I talked with Jorge, this add-on has multiple statuses that are incorrect:
http://grab.by/wch
Add-on is in sandbox, file is public. This should probably not be allowed by the devcp.
Assignee | ||
Comment 5•15 years ago
|
||
Comment 6•15 years ago
|
||
Ah, weird. Jorge: can we sandbox all the public files?
Updated•15 years ago
|
Assignee: rdoherty → jorge
Comment 7•15 years ago
|
||
I ran a query for all add-ons presenting this problem, and there are more than 400 that have sandbox status and at least one public file. There are more than one thousand files to update, so it's better to do it directly on the DB.
Wil, can you have a look at this? This should update the status of all public files to "sandbox".
Comment 8•15 years ago
|
||
Comment on attachment 412335 [details]
SQL that updates the status for all files causing this bug
Forgot review flag. BTW, I haven't tested this on Khan yet, and I kinda suck at SQL :P
Attachment #412335 -
Flags: review?(clouserw)
Comment 9•15 years ago
|
||
I don't think we should fix this on the database side. The Dev CP allows this to happen and the Admin CP allows this to happen, so it will keep happening.
However, I also don't think we should change the function of those CPs and should instead fix this in the install buttons. In the case in the screenshot, the author of a public add-on moved their add-on from public to the sandbox, as indicated by the highest status field. He can move it back at any time, and the status of the files that have already been reviewed shouldn't be affected.
Comment 10•15 years ago
|
||
(In reply to comment #9)
> However, I also don't think we should change the function of those CPs and
> should instead fix this in the install buttons. In the case in the screenshot,
> the author of a public add-on moved their add-on from public to the sandbox, as
> indicated by the highest status field. He can move it back at any time, and the
> status of the files that have already been reviewed shouldn't be affected.
Fligtar is right, this is a UI thing. Thanks for the patch though, Jorge. Ryan, do you have time to look at this before 11/26?
Assignee: jorge → nobody
Updated•15 years ago
|
Attachment #412335 -
Attachment is obsolete: true
Attachment #412335 -
Flags: review?(clouserw)
Assignee | ||
Comment 12•15 years ago
|
||
Attachment #414370 -
Flags: review?(clouserw)
Updated•15 years ago
|
Attachment #414370 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 13•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•