Closed
Bug 504129
Opened 16 years ago
Closed 16 years ago
[Regression]:Manage link missing for add-ons listed under "My collections"
Categories
(addons.mozilla.org Graveyard :: Collections, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.7
People
(Reporter: krupa.mozbugs, Assigned: wenzel)
References
()
Details
Attachments
(1 file)
1.82 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
steps to reproduce:
1.Log in as krupa.raj@gmail.com
2.Navigate to Collections Homepage
3.Click on "My Collections"
4.Listed addons are-"k's recommendation","tools" and "test123"
5.Notice that the creator is "polka polka.."
6.Navigate to the details page of "k's recommendation"
observed behavior:
Manage collection is missing for collections-"k's recommendation" and "tools" but is available for test123
additional behavior:
the same collections created in production using the same account have manage collection links.
screencast: http://screencast.com/t/9Y1HNREb
Bug 496419 had reported the same behavior but was a diff prob.
Reporter | ||
Comment 1•16 years ago
|
||
STR:
1.Login to AMO account
2.Create a new collection.
3.Navigate to the collection detail page
observed behavior:
manage collection link is missing
Reporter | ||
Comment 3•16 years ago
|
||
oops-I missed a few steps in comment# 1-
4.Click on "Manage collection
5.Assign a nickname for the collection
6.Click on the link en-US/firefox/collection/<nickname>
observed behavior:
manage collection link is missing
screencast:http://screencast.com/t/7uVVPDU8
Severity: critical → major
Keywords: regression
Reporter | ||
Updated•16 years ago
|
Severity: major → critical
Comment 4•16 years ago
|
||
I can't reproduce this on my dev copy or preview.amo
Comment 5•16 years ago
|
||
You can't be an admin to reproduce.
Comment 6•16 years ago
|
||
(In reply to comment #5)
> You can't be an admin to reproduce.
Thanks, we figured that out on IRC. This is actually caused by bug 496419. Since thet owner role no longer exists, when someone selects that only they can edit the collection the code deletes all roles that aren't owner (including the managers which is what the owners became).
It would be easy enough to add the user back in at that point, but that would break when an admin edited a collection for someone. By saying "only me" on the site and in the code we can't administer collections without deleting their current authors.
Comment 7•16 years ago
|
||
(In reply to comment #6)
> It would be easy enough to add the user back in at that point, but that would
> break when an admin edited a collection for someone. By saying "only me" on
> the site and in the code we can't administer collections without deleting their
> current authors.
Ok, so can we do that and if the user only has permissions on the collection through being an admin, instead of the "only me" format we just show the dropdown box with all users for editing? I'm not as concerned about the admin interface as I am about fixing the permissions problem by tomorrow.
Assignee | ||
Comment 8•16 years ago
|
||
This deletes all users except ourselves -- it works also for admins changing their own collections.
The overall possibility of an admin orphaning a collection persists.
Assignee | ||
Comment 9•16 years ago
|
||
(In reply to comment #7)
> Ok, so can we do that and if the user only has permissions on the collection
> through being an admin, instead of the "only me" format we just show the
> dropdown box with all users for editing?
Sounds good, we should spin this off though.
Updated•16 years ago
|
Attachment #388575 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 10•16 years ago
|
||
r29762, thanks.
Updated•16 years ago
|
Keywords: push-needed
Updated•10 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
•