Repository navigation
Conversation
MDEx rendered AI assistant messages in the legacy LiveView component, which OpenFn#4908 removed. Nothing has called it since, and mix hex.audit now fails on five advisories published for MDEx 0.13.3 on 30 Nov 2026, so every PR's lint job fails. Remove the dependency instead of upgrading it to 0.15.0, and drop mdex and mdex_native from the lock file with mix deps.unlock --unused. Closes OpenFn#4948
The Projects page only listed top-level projects, so a collaborator added to a sandbox but not to its parent never saw it there and could only reach it through the project picker. List a sandbox when the user is on it and on no project above it, the same access-root rule the picker uses. Such rows carry the sandbox icon. The parent's name isn't shown, since the user can't open it. Access itself is unchanged. Fixes OpenFn#5007
…ix/5007-sandboxes-in-projects-menu
yaml_elixir 2.12.1 expands nested YAML aliases without a limit, so a crafted file can exhaust memory. The advisory fails mix hex.audit in CI lint. 2.13.0 carries the fix and fits the existing ~> 2.12 constraint, so only mix.lock changes.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the Projects page (
/projects) so it lists a sandbox the useris a collaborator on when they aren't on its parent project.
The page only listed top-level projects (
parent_id IS NULL), so someoneadded to a sandbox alone never saw it there and could only reach it through
the project picker (Cmd+P).
get_projects_overview/2now also lists a sandboxwhen the user is on it and on no project above it. That's the same
access-root rule the picker already uses (
roots_for_user_tree/1), so the twonow agree.
These rows get a sandbox icon. The parent's name isn't shown, since the user
has no access to the parent. Permissions don't change: nobody gains access to
anything, and sandbox access without parent access still works as before.
Closes #5007
Validation steps
beaker icon, and the parent project is not listed or named anywhere.
now, and the sandbox is reached from inside it as before.
Tests: the new cases at the end of
describe "get_projects_overview/2"intest/lightning/projects_test.exs, plus one intest/lightning_web/live/dashboard_live_test.exs. They cover a sandbox-onlymember, nested sandboxes (only the topmost listed), a parent member (no
duplicate), sandboxes the user isn't on or that are scheduled for deletion
(hidden), and support users.
Additional notes for the reviewer
chore/bump-yaml-elixir(yaml_elixir 2.12.1 to2.13.0, mix.lock only) because a new advisory, CVE-2026-140436, fails
mix hex.auditin CI lint for every branch, main included. I'll open thatas its own PR. That diff will disappear here once it's merged.
rather show "in " for context, that's a one-line change, but it
would tell the user that a project they can't open exists.
AI Usage
Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):
You can read more details in our
Responsible AI Policy
Pre-submission checklist
/reviewwith Claude Code)
(e.g.,
:owner,:admin,:editor,:viewer)N/A: no policy changes. The listing only shows projects the user
already has a
project_usersrow on, and tests cover who sees what.