-
Notifications
You must be signed in to change notification settings - Fork 56
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: Add alias for tabs
permission
#619
Comments
|
The current permission system mixes multiple purposes:
For example, the The
The I prefer |
From experience, users often misunderstand the concept of Tab Sensitive Data is often seen as user/password entered in tab content and the warning is seen as an extension attempting to collect such IMHO, it would be good to have a consensus on the terminology (for both the APIs and warnings) that would be more descriptive and informative (e.g. sensitive, private, etc). 1. Sensitive
2. Private
3. General
Similarly,
Among above operations, only the "Search" enables the extension to read all history content which has the highest sensitivity factor. |
Very much agree the This topic seems a good fit for a next manifest version, even though the idea of a next manifest version is controversial due to all controversies related to mv3, I believe it is the way forward for more breaking changes like this. In any case, very much advocating for the |
Thanks @carlosjeurissen for calling those things out.
Just to be clear, we definitely have no plans to do this on the Chrome side. For now the only thing we are proposing is introducing an alias (which would not generate new permission warnings) so developers can start getting used to a new permission and it's one less surprising change if we do decide to remove
For sure - this is the most common one I see but open to adding aliases for other permissions if we can make a similar case. |
In most cases, permissions correspond to the namespace they grant access to. For example, the
scripting
permission is required to call functions in thebrowser.scripting
namespace likebrowser.scripting.executeScript()
.The second most commonly used API namespace (based on some rough data I scraped before joining Google) is
browser.tabs
, which leads to many extensions requesting thetabs
permission. However, this is not needed for most calls and rather grants access to sensitive properties like a tab'surl
in Chrome and Firefox. In Safari, host permissions are required.To avoid this, I propose adding an alias for the
tabs
permission which can be preferred going forward. Long term, we can gradually work to deprecate thetabs
permission through small interventions like adding warnings when it it used. Shorter term, there is immediate benefit since we can use the alias in documentation.The hardest part of this is naming. I don't have a preferred option yet, but options could include
sensitiveTabData
ortabs.sensitiveData
(seems slightly less desirable because this isn't a method).The text was updated successfully, but these errors were encountered: