Skip to content

Conversation

elnelson575
Copy link
Contributor

@elnelson575 elnelson575 commented Aug 26, 2025

Closes: #2061
Related to: #2079

This PR updates the temp directory into which included files are saved to resolve issues with file permissions on multi-user systems.

Testing:

  • Include Files Playwright test
  • Not Include Files Playwright test

@elnelson575 elnelson575 self-assigned this Aug 26, 2025
@elnelson575 elnelson575 linked an issue Aug 26, 2025 that may be closed by this pull request
@elnelson575 elnelson575 marked this pull request as ready for review September 4, 2025 14:27
@elnelson575 elnelson575 marked this pull request as draft September 4, 2025 14:34
@elnelson575 elnelson575 marked this pull request as ready for review September 4, 2025 15:55
Copy link
Collaborator

@cpsievert cpsievert Sep 4, 2025

Choose a reason for hiding this comment

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

This test is for the other PR, right?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh nvm, I think I see why we're adding the test -- it's not that we're directly testing this fix, it's more about adding coverage that should've already existed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, because we're altering how we include files, I want to have a test for both "link_files" and "link" versions

Copy link
Collaborator

@cpsievert cpsievert left a comment

Choose a reason for hiding this comment

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

Please merge once tests are passing

@cpsievert cpsievert merged commit c78c8f1 into main Sep 4, 2025
65 of 66 checks passed
@cpsievert cpsievert deleted the fix/js_css_include_perms branch September 4, 2025 18:12
schloerke added a commit that referenced this pull request Sep 5, 2025
* main:
  fix: Make outside users able to read tmp files (#2070)
  docs: update module server and ui to incorporate #705 (#2044)
  fix: errors on bookmark are now surfaced in the Python console (#2076)
  Add Connect Cloud as a hosting option in README (#2074)
  Update changelog
  Update changelog
  fix: include_css and include_js can use files in same dir (#2069)
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.

[Bug]: Conflict in multi-user systems with ui.include_*
2 participants