Conversation
Uploads into a page's `.pagename/` asset folder were getting 403'd even when the user had write access to `pagename`/`pagename/**`, because the dot-prefixed folder name never matched the plain-name grant.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
bosschaert
approved these changes
Jul 9, 2026
adobe-bot
pushed a commit
that referenced
this pull request
Jul 9, 2026
## [1.12.2](v1.12.1...v1.12.2) (2026-07-09) ### Bug Fixes * page-scoped ACL grants also cover the page's dot asset folder ([#300](#300)) ([0e95a8e](0e95a8e))
Collaborator
|
🎉 This PR is included in version 1.12.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Summary
foo.html's images live under.foo/), but ACL grants anchored on the plain page name (foo,foo/**,foo/+**) never matched that dot-folder, so uploads there returned 403 even for users with write access to the page.getUserActionsnow also checks the dot-folder variant of a/**//+**grant prefix.Test plan
path/+**+path.html) and confirmed it 403'd against.path/asset.jpgpre-fixnpm test— 420 passingnpm run lint— clean