Skip to content

feat: support 'Allow Guest' access for pages - #246

Open
ruchamahabal wants to merge 9 commits into
frappe:developfrom
ruchamahabal:guest-access
Open

feat: support 'Allow Guest' access for pages#246
ruchamahabal wants to merge 9 commits into
frappe:developfrom
ruchamahabal:guest-access

Conversation

@ruchamahabal

Copy link
Copy Markdown
Member

No description provided.

@ruchamahabal
ruchamahabal marked this pull request as ready for review August 17, 2026 20:26
@greptile-apps

greptile-apps Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 4/5

The PR is not yet safe to merge because existing clients can still call the removed component endpoint and receive a method-not-found failure.

The bulk-fetch change resolves the per-component query issue, but no compatibility alias restores the previously whitelisted get_component API.

Files Needing Attention: studio/studio/doctype/studio_component/studio_component.py

Reviews (6): Last reviewed commit: "fix: guest access description" | Re-trigger Greptile

check — like page definitions (see get_page), a component is markup with no draft
state; the data it renders stays permission-checked by the endpoints serving it."""
component = frappe.get_cached_doc("Studio Component", component_name)
def get_component_data(component) -> dict:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Removed component API endpoint

When existing clients call the previously whitelisted get_component endpoint, the method no longer exists, causing those requests to fail; preserve a compatibility alias while migrating callers.

Context Used: Guidelines for reviewing Frappe Framework applicat... (source)

Fix in Claude Code Fix in Codex

Comment thread studio/studio/doctype/studio_component/studio_component.py Outdated
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.

1 participant