Skip to content

Merge "Show Extension/Feature using this account" and "Manage Trusted Extensions" #96367

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

Closed
jrieken opened this issue Apr 28, 2020 · 5 comments
Closed
Assignees
Labels
authentication Issues with the Authentication platform feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented Apr 28, 2020

#96226

  • select an account
  • select "show extensions/features using this account"
  • 😕 you get a quick pick that doesn't allow you to do anything at all
  • select "manage trusted extension"
  • 😕 you get a slight different quick pick that at least allows to check/uncheck extensions

useless picker

Screenshot 2020-04-28 at 11 52 40

better picker, but it shows different info?
Screenshot 2020-04-28 at 11 58 56

@sandy081 sandy081 added the authentication Issues with the Authentication platform label Apr 28, 2020
@rebornix
Copy link
Member

rebornix commented Apr 29, 2020

It confuses me as well when I see different results in these two quick picks. Also it's weird that I can't turn off sync directly from the account management quick pick.

@RMacfarlane
Copy link
Contributor

Couple of thoughts here:

If combining them into one, "Preferences Sync" becomes something that could potentially be unchecked, do we want to treat it any differently? The result would be that if preferences sync tries to read a token from that account, you see a consent dialog. Seems a bit weird for there not to be trust for VSCode itself, but this would then be consistent with extensions.

Erich had an idea of showing the "last used" time, when the extension or core feature last read the access token. If we added that, that would make it more obvious that some extensions have actually used a token during this session, and some have not.

@sandy081
Copy link
Member

What happens if I uncheck in general say on Github Pull Requests Nightly Build ?

@RMacfarlane RMacfarlane added the feature-request Request for new features or functionality label May 11, 2020
@RMacfarlane RMacfarlane added this to the May 2020 milestone May 11, 2020
@RMacfarlane
Copy link
Contributor

If you uncheck an extension and it tries to read an access token, a consent prompt is shown. Otherwise it is able to read the access token silently. It's similar to how "Trusted Domains" behaves

@RMacfarlane
Copy link
Contributor

I removed the "Show features and extensions using this account" option and have added timestamps showing when an extension last accessed the account in "Manage Trusted Extensions".

Preferences sync is not listed there, it's only extensions. We can show which account is being used by preferences sync by exploring a richer accounts UI: #97168

@jrieken jrieken added the verified Verification succeeded label Jun 2, 2020
@RMacfarlane RMacfarlane added the verification-needed Verification of issue is requested label Jun 2, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
authentication Issues with the Authentication platform feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants