seitime-frappe/frappe/database
Sagar Vora 369f15ac09 fix: allow filtering by all permlevel 0 fields with select permission
Users with only 'select' permission can now filter, order by, and
group by all permlevel 0 fields, not just search fields.

- Added _get_filterable_fields() returning all permlevel 0 fields
  for select permission users
- Split permission checking into check_select_field_permission()
  and check_filter_field_permission()
- select field validation uses check_select_field_permission
- Filter/order/group by validation uses check_filter_field_permission
2026-02-20 21:23:29 +05:30
..
mariadb fix: make default flags same on both connectors (#36697) 2026-02-04 12:45:35 +00:00
postgres perf(postgres): skip unnecessary migrations due to type mismatch (#34784) 2025-12-29 18:29:22 +05:30
sqlite feat(sqlite): Set 5s of busy_timeout 2025-10-28 13:54:53 +05:30
__init__.py refactor: Default to mysqlclient (#32987) 2025-06-18 06:04:24 +00:00
database.py fix(db): support list of fields in get_value method when cache is True (#37050) 2026-02-16 20:28:38 +05:30
db_manager.py refactor: use a database file directly, instead of an SQL file 2025-04-15 13:59:16 +05:30
operator_map.py fix(postgres): misc query building fixes + CI (#34831) 2025-12-05 10:30:49 +05:30
query.py fix: allow filtering by all permlevel 0 fields with select permission 2026-02-20 21:23:29 +05:30
schema.py fix(schema): ensure int-int comparison (#34320) 2025-10-09 15:25:50 +05:30
sequence.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
utils.py fix(postgres): drop_index_if_exists uses DROP INDEX IF EXISTS (#35636) 2026-01-05 11:15:41 +00:00