Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing assignments #5

Open
p3lim opened this issue Apr 19, 2018 · 1 comment
Open

Syncing assignments #5

p3lim opened this issue Apr 19, 2018 · 1 comment

Comments

@p3lim
Copy link

p3lim commented Apr 19, 2018

From the FAQ:

  • I have set a preference to open a website in a particular container. Will that also be synced?

No. This data is not available to any extensions by the API.

mozilla/multi-account-containers#1095 was merged (and released in 6.0), would this be enough to add syncing of assignments?

(Irrelevant) I also mentioned this plugin in mozilla/multi-account-containers#339.

@ramkumar-kr
Copy link
Owner

Hi,

Thanks for informing about the API to get assignment for a given URL.

For this extension to sync the assignments, I would need the API to perform the following

  1. Given a container ID, provide the list of all assigned URLs. (this is required for backup)
  2. Given a container ID and URL, update or remove its assignment. (this is required for restore)

The getAssignment API takes an URL as the input and provides the container ID.
Since it does not satisfy the requirements for this extension, this API is not enough to add syncing of assignments.

I also saw that it is possible to add the required functionality for multi-account-containers. Hence, I have created a pull request mozilla/multi-account-containers#1197 implementing the required API changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants