Ankush Menat
6e0b522ae3
refactor!: Disable server scripts by default
...
- Move the config to bench level and not site level because, server
script "threat model" requires consent from a bench owner and not
individual site.
- While this is a breaking change which people may not like, we believe
it's essential to improve security model of Frappe.
2023-08-23 14:49:05 +05:30
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache ( #21282 )
2023-06-08 11:47:17 +05:30
Ankush Menat
6dcf12d509
fix: Apply permissions on Report sidebar
...
Alternate to https://github.com/frappe/frappe/pull/19588
Co-Authored-By: marination <maricadsouza221197@gmail.com>
2023-02-03 18:07:21 +05:30
Ankush Menat
75d092ef7d
Revert "fix: Report sidebar must consider Permission Query" ( #19921 )
2023-02-03 15:13:18 +05:30
Ankush Menat
13162d8fbd
fix: Only apply perm query to non-admin users
2023-01-30 11:24:16 +05:30
marination
1e4d28cc19
fix(test): Remove try-finally & ignore perms on test user's report insertion
2023-01-30 11:08:14 +05:30
marination
968648e1b6
test: Test if permission query via server script is applied on cached allowed reports
2023-01-16 18:38:26 +05:30
Ankush Menat
3e2d2a703a
test: Use FrappeTestCase everywhere
2022-08-17 16:39:42 +05:30
Suraj Shetty
9e87598dda
refactor: Use FrappeTestCase as it rolls back test data
2022-07-21 17:03:52 +05:30
Suraj Shetty
67350e9ac3
test: Add a test case to validate get_unseen_notes
2022-07-20 13:23:49 +05:30