When editing a collection and adding a user there is no check done to see if the user is actually in the database (the query is actually run to insert, it just fails). We don't need to expose the database with an auto-complete or anything but we should check that what they put in is an email address and that it exists. Additionally, once the "add user" button is clicked there is no feedback on whether it was successful or not.
Is this a bug on the code base from bug 456132? The original edit page scaffolding (currently on trunk) is completely gone.
Fixed with bug 456132. Please reopen if you disagree.
Assignee: lorchard → fwenzel
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
To test, I, loaded https://preview.addons.mozilla.org/en-US/firefox/collections/edit/787695b6-692f-102c-9a23-001e0bd9232c#permissions (my test "meow" collection, which is empty), and: * entered "firstname.lastname@example.org" and clicked "Add", and got "User not found!" in red * entered "email@example.com", and got "* firstname.lastname@example.org Remove" out put. Verified FIXED
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.