Skip to content

Hide Source Code Upload on Edit for Enterprise Versions - #25213

Merged
chrstinalin merged 4 commits into
mozilla:masterfrom
chrstinalin:#14852-hide-source
Jul 30, 2026
Merged

Hide Source Code Upload on Edit for Enterprise Versions#25213
chrstinalin merged 4 commits into
mozilla:masterfrom
chrstinalin:#14852-hide-source

Conversation

@chrstinalin

@chrstinalin chrstinalin commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Closes mozilla/addons#14852

Description

Hides the source upload on the version edit page for enterprise versions.

image

Testing

  1. Enable the enterprise-channel waffle switch.
  2. Create an enterprise extension or version (i.e has browser_specific_settings: { gecko: { admin_install_only: true } } in its manifest).
  3. The source code upload section is not visible for the enterprise version. It is still visible for others.

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).

@chrstinalin
chrstinalin requested review from a team and diox and removed request for a team July 29, 2026 15:52
@diox

diox commented Jul 30, 2026

Copy link
Copy Markdown
Member

Could you add a test proving it's not shown on the edit version page when the version is on the enterprise channel ?

@chrstinalin
chrstinalin merged commit fc98590 into mozilla:master Jul 30, 2026
47 checks 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.

[Task]: Skip source code submission for enterprise add-on versions

2 participants