Skip to content

Remove unnecessary tabs permission from Tab to the next extension#27

Merged
wh5a merged 2 commits into
masterfrom
copilot/remove-unnecessary-tabs-permission
May 20, 2026
Merged

Remove unnecessary tabs permission from Tab to the next extension#27
wh5a merged 2 commits into
masterfrom
copilot/remove-unnecessary-tabs-permission

Conversation

Copilot AI commented May 20, 2026

Copy link
Copy Markdown
Contributor

Chrome Web Store flagged Tab to the next for excessive permissions: the extension requested tabs even though its implemented behavior does not require that permission. This PR narrows requested access to align with policy.

  • Permission scope reduction

    • Updated tab-to-the-right/manifest.json to remove tabs from permissions.
    • Kept storage unchanged.
  • Behavioral impact

    • No feature logic changes; background tab-management behavior remains implemented in existing code.
    • Change is limited to manifest permission surface.
"permissions": [
  "storage"
]

Copilot AI linked an issue May 20, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Remove unnecessary tabs permission from Tab to the next extension Remove unnecessary tabs permission from Tab to the next extension May 20, 2026
Copilot finished work on behalf of wh5a May 20, 2026 00:28
Copilot AI requested a review from wh5a May 20, 2026 00:28
},
"permissions": [
"storage",
"tabs"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot How does the extension rearrange tabs without this permission? Can you explain with links to the code?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. It still works because the extension only uses tab operations + non-sensitive tab fields, which are allowed without the tabs permission.

Code paths:

It does not read restricted fields like url, title, favIconUrl, etc., so broad tabs permission is unnecessary here. The permission change is in commit 012afc9.

Copilot AI requested a review from wh5a May 20, 2026 00:53
Copilot finished work on behalf of wh5a May 20, 2026 00:53
@wh5a wh5a marked this pull request as ready for review May 20, 2026 06:09
@wh5a wh5a merged commit 96b6a55 into master May 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Tab to the next" extension's tab permission unnecessary

2 participants