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

Proposal: Enable changing the permissions for only new user #711

Open
wydgetlabsadmin opened this issue Oct 17, 2024 · 1 comment
Open
Labels
needs-triage: chrome Chrome needs to assess this issue for the first time needs-triage: firefox Firefox needs to assess this issue for the first time needs-triage: safari Safari needs to assess this issue for the first time

Comments

@wydgetlabsadmin
Copy link

Wanted to flag a feature request where you can change the permissions for only new users so that new users don't need to opt in to a permission again when there is a permission update in the extension.

Right now when you update the permissions, it updates it for all users - disabling the extension and making it impossible to expand the feature set without using optional permissions.

@github-actions github-actions bot added needs-triage: chrome Chrome needs to assess this issue for the first time needs-triage: firefox Firefox needs to assess this issue for the first time needs-triage: safari Safari needs to assess this issue for the first time labels Oct 17, 2024
@fregante
Copy link

I don’t think this strictly needs new config/flags, but browsers could handle new permissions differently.

Browsers are already able to deny access to certain hosts even if specified in the manifest. For example, the user can go visit chrome://extensions, open the details of an extension, and disable certain hosts.

Proposal

Likewise, the browser could install an updated manifest and keep the new host disabled, using this capability. It is up to the extension to use browser.permissions.request() to obtain access to this new host

Notes

  • Safari is not affected by this issue, at least for hosts
  • Chrome does not have the ability to block non-host permissions this way
  • Firefox does not have this capability at all AFAIK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage: chrome Chrome needs to assess this issue for the first time needs-triage: firefox Firefox needs to assess this issue for the first time needs-triage: safari Safari needs to assess this issue for the first time
Projects
None yet
Development

No branches or pull requests

2 participants