← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1638769] Re: Need more information from account manager

 

I agree that this information is needed by the clients.

The question is about the icon: the client might be unable (due to apparmor confinement) to read the provider icon, especially if this is coming from another click or snap package. If, as I understand it - please confirm this - the storage framework will be running inside the unity8 snap, then this is not a problem for your specific use-case, but it's an issue that anyway we need to consider for third party clients.
I guess that for the time being the simplest solution is to simply have an "iconName" field with the icon name as a string, and later on we'll think of a solution for the general case (I hope we can find something better than passing the icon data over D-Bus!).

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to online-accounts-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1638769

Title:
  Need more information from account manager

Status in online-accounts-api package in Ubuntu:
  Confirmed

Bug description:
  For storage framework, we need to be able to present the user with a
  selection dialog that allows the user to select a cloud service
  account, for example, to select where backups should be stored, or
  where the camera app should upload photos to.

  Right now, we only get three values from online accounts:

  id (integer)
  service id (e.g. “google-drive-scope”)
  display name (e.g. “michi.henning@xxxxxxxxxxxxx”)

  This isn’t quite sufficient for what applications need. In particular,
  they need a (translated) display string that identifies the service
  (e.g. “Google”, “Dropbox”), and they need the icon identifier.

  Without these things, it’s not possible to present a decent selection
  dialog, and it’s not possible to reliably distinguish accounts, such
  as when a user has more than one account with the same service, or has
  accounts with different services but the same email address.

  Could you please add the following to the account information
  dictionary:

  - provider ID
  - translated provider name
  - icon name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/online-accounts-api/+bug/1638769/+subscriptions


References