cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Bazooka_Tano
Strollin' around
Status: New idea

Users can toggle an extension's optional permissions in about:addons

Add-ons Manager.png

Problem:
They can disable a permission the extension currently needs, or enable a permission it currently doesn't need.

When a user does this, it would be great if the extension could warn him.
All the extension needs for this are permissions.onAdded and permissions.onRemoved listeners.

Problem:
The listeners know which permissions were added/removed, but they dont know who added/removed the permissions.

  • the user in about:addons
  • the extension with permissions.remove() or permissions.request()

Suggestion:
Add a "byUser" parameter to the listener signatures.

  • old:
    function permissionsOnAddedListener(permissions: permissions.Permissions) {}
  • new:
    function permissionsOnAddedListener(permissions: permissions.Permissions, byUser: boolean) {}
1 Comment
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.