Skip to content

fix(backups): warn when a restore makes a project public - #23193

Merged
nijel merged 1 commit into
mainfrom
backup-visibility
Nov 29, 2026
Merged

nijel merged 1 commit into
mainfrom
backup-visibility

Conversation

@nijel

@nijel nijel commented Nov 29, 2026

Copy link
Copy Markdown
Member

A public-only workspace plan can make a non-public project accessible even when the backup contains no restricted components. Warn in the import preview and report the actual access change on completion.

Fixes #23180

A public-only workspace plan can make a non-public project accessible even when the backup contains no restricted components. Warn in the import preview and report the actual access change on completion.

Fixes #23180
@nijel nijel added this to the 2026.12 milestone Nov 29, 2026
@nijel nijel self-assigned this Nov 29, 2026

@accesslint accesslint Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Found 2 issues across 1 rule.

Reviewed by AccessLint, which checks every pull request for accessibility issues.

{% endif %}
{% if restricted_components %}
<p>{% translate "If the selected workspace's billing plan requires public content, the following restricted components will be publicly accessible after import:" %}</p>
<ul>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

WCAG 1.3.1: <ul> contains direct text content. Wrap in <li> or <style>.

<ul> and <ol> must only contain <li>, <script>, <template>, or <style> as direct children.

Details

Screen readers announce list structure ('list with 5 items') based on proper markup. Placing non-<li> elements directly inside <ul> or <ol> breaks this structure. Wrap content in <li> elements, or if you need wrapper divs for styling, apply styles to <li> elements directly and remove the wrapper (e.g., change <ul>``<div>item</div>``</ul> to <ul>``<li>item</li>``</ul>).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T08:34:39.865394Z d5a9333 PR opened
🔒 Security Review ✅ Completed 2026-11-29T08:36:21.886515Z d5a9333 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 6 files

Turn on auto-fix | Re-trigger cubic

@nijel
nijel enabled auto-merge (rebase) November 29, 2026 08:38
@nijel
nijel disabled auto-merge November 29, 2026 11:50
@nijel
nijel merged commit e515cd3 into main Nov 29, 2026
39 of 50 checks passed
@nijel
nijel deleted the backup-visibility branch November 29, 2026 11:50
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.

Project backup restore silently publishes a private project when the destination plan is public-only

1 participant