Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(security): validate web form permissions correctly (backport #19088…
…) (#19108) * fix: use permtype from passed arguments in has_web_form_permission when applying document permissions (cherry picked from commit 856d7a9) * fix: use webform doctype rather than allowing user to pass any doctype (cherry picked from commit 8e0c4ce) * chore: consider docname via data (cherry picked from commit d7f4540) # Conflicts: # frappe/public/js/frappe/web_form/web_form.js # frappe/website/doctype/web_form/web_form.py * chore: remove docname param * chore: remove docname property from args Co-authored-by: phot0n <ritwikpuri5678@gmail.com>
- Loading branch information
1 parent
851a803
commit 553408e
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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