Skip to content

Require an allowlist for local repository paths - #27365

Merged
oliverguenther merged 1 commit into
devfrom
fix/repositories-allowlist
Nov 27, 2026
Merged

oliverguenther merged 1 commit into
devfrom
fix/repositories-allowlist

Conversation

@oliverguenther

Copy link
Copy Markdown
Member

Ticket

https://community.openproject.org/work_packages/SC-359

What are you trying to accomplish?

Allow specifying an allowlist where Git or Subversion repositories can be added from.

This check only runs when a new repository is linked, or an existing one is changed, so this does not affect existing repositories. The default config is also empty, so this needs to be actively enforced.

AI involvement

Collaborative – AI generated a substantial part of the code; I reviewed and understand every line.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

Allow specifying an allowlist where Git or Subversion repositories can be added from.

This check only runs when a new repository is linked, or an existing one is changed,
so this does not affect existing repositories. The default config is also empty,
so this needs to be actively enforced.
@github-actions github-actions Bot added the ai: Collaborative 💻 AI generated a substantial part of the code; A human reviewed and understands every line. label Nov 26, 2026
@klaustopher

Copy link
Copy Markdown
Contributor

Would this need a migration that auto generates the setting based on current paths?

@oliverguenther

Copy link
Copy Markdown
Member Author

@klaustopher No I would say informing admins about this behavior and allowing them to restrict it is good enough

@oliverguenther
oliverguenther merged commit 5a1f6b2 into dev Nov 27, 2026
25 checks passed
@oliverguenther
oliverguenther deleted the fix/repositories-allowlist branch November 27, 2026 07:37
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ai: Collaborative 💻 AI generated a substantial part of the code; A human reviewed and understands every line.

Development

Successfully merging this pull request may close these issues.

3 participants