Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow limited functions to users who have server scripts disabled #54

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

surajshetty3416
Copy link
Member

@surajshetty3416 surajshetty3416 commented Jan 9, 2024

Allow limited functions to users who have server scripts disabled

frappe.db.count
frappe.db.exists
frappe.db.get_all (alias of safe_get_all)
frappe.db.get_list (alias of safe_get_all)
frappe.make_get_request (alias of make_safe_get_request)
frappe.get_doc (alias of get_doc_as_dict)
frappe.get_cached_doc (alias of get_cached_doc_as_dict)

@surajshetty3416 surajshetty3416 force-pushed the safer-exec-for-disabled-server-script branch from a6e3af8 to 069fdf2 Compare January 9, 2024 09:57
builder/utils.py Outdated Show resolved Hide resolved
@surajshetty3416 surajshetty3416 merged commit d0a3b46 into master Jan 9, 2024
1 check passed
@surajshetty3416 surajshetty3416 deleted the safer-exec-for-disabled-server-script branch January 9, 2024 10:41
@surajshetty3416
Copy link
Member Author

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants