Authentication dialog doesn't make sense when purchasing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
software-center (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
software-center trunk r1116, Ubuntu Maverick
1. Navigate to Fluendo DVD Player, and choose "Buy".
2. Sign in.
3. Fill out the payment form.
4. Confirm the payment.
What happens: An authentication dialog appears: "To change software repository settings, you need to authenticate."
I wrote that string, but I was expecting it to appear only when you are mucking around in Software Sources. I was not expecting it to appear in this context.
What should happen: either
* the dialog should not appear at all; or
* the dialog should have custom text for this situation, e.g. "To install purchased software, you need to authenticate."
Perhaps there could be a custom privilege in aptdaemon that encompasses both adding a purchase repository, and installing the purchased software.
Related branches
Changed in aptdaemon (Ubuntu): | |
status: | New → In Progress |
Changed in software-center (Ubuntu): | |
status: | New → In Progress |
Changed in aptdaemon (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in aptdaemon (Ubuntu): | |
status: | Fix Committed → Fix Released |
The dialog has to appear, since we cannot allow applications to blindly change the software repositories.
You could add a custom privilege by a distro patch and allow it as an alternative to change-repository and install- or-remove- packages - similiar to the current single-auth patch. But the client would have to ask for authentication before launching the transaction, since the daemon doesn't know if the client wants to perform a purchase or not.
Would be "To install packages from new sources, you have to authenticate" an alternative?