The Polarr Photo Editor (
polarr) snap is owned by firstname.lastname@example.org but when I log in with that account and go to https://snapcraft.io/account/snaps, the polarr snap is not listed there. Several months ago I shared the polarr snap with a couple accounts in the organization. When I log in with one of those accounts, the polarr snap is listed on https://snapcraft.io/account/snaps and it says it’s owned by email@example.com.
- Where are the sharing settings? I used the page before to share administration of the snap to a couple accounts in the company but I can’t find the page now.
- Why can’t firstname.lastname@example.org access the snap that it owns, but another account in the organization can access the snap and see that it’s owned by email@example.com?
The site at https://snapcraft.io aggregates information from the snap store API and uses a new nice codebase to build the information it displays, and it’s somewhat weird that it says the snap is owned by firstname.lastname@example.org, as I’ll explain in a moment.
To answer your questions and hopefully unblock you:
You probably did this on the developer dashboard, at https://dashboard.snapcraft.io. I checked and indeed the snap was shared with two accounts, one of which hasn’t accepted the share apparently.
The very odd part here is this:
because it’s not; email@example.com has no snaps. The snap is owned by the
polarrco account, which has firstname.lastname@example.org as its email (apologies for posting email addresses, but the latter one is public per
snap info polarrco anyway.
So this explains “Why can’t email@example.com access the snap that it owns” - it doesn’t, that’s firstname.lastname@example.org (incidentally that’s the account you’d have to use to log into dashboard.snapcraft.io).
To sum up:
And we can take it from there.
Thanks @roadmr, that pretty much answers my questions. I think I mixed up the account names for email@example.com and firstname.lastname@example.org because I had multiple browser windows opened.
It would be nice if there was some way to switch accounts on snapcraft.io like I can with Google OAuth. When I sign in to an account then sign out, next time I click sign in I’m automatically signed in to the same account and don’t have the option to select a different email address. I ended up using incognito windows to sign into a second account.
You can do it in this (convoluted) way:
Most OpenID consumers/servers I’ve worked with do it this way: unless you log out of the identity provider, things are remembered even if you log out of the service provider. Note this uses OpenID 2.0-ish, not OpenID Connect which works on top of OAuth.