You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolve dangling links on both sides of the organization-config write guard #4057
Found in review of #4009 (comment), at crates/minimal/src/config.rs:300. Unresolved when this issue was filed.
Resolve dangling links on both sides of the organization-file check.
If the organization config links to a missing file and the user config links to the organization config, target_of follows the user path to the missing file. The organization side goes straight to resolved_for_write, which cannot canonicalize that dangling link and keeps its name. The comparison therefore allows the write. When the endpoint is writable, min secret set creates it, and those bytes become the organization configuration.
Use the same endpoint resolution for both paths, including missing endpoints. Keep the existing refusal when both paths resolve to the same existing file.
Activity