about summary refs log tree commit diff
path: root/sql
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi <frederick@fallion.localhost>2026-08-28 15:39:49 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-08-28 10:42:19 -0500
commit23a02f751865ab706a6fefae668dfa67c4ad27d2 (patch)
tree144b56b05bb211d7efc52960a9b72bddffe95dcb /sql
parentaa06a02876cc55306ca037e4653c6c100bb0bbea (diff)
downloadgenenetwork3-23a02f751865ab706a6fefae668dfa67c4ad27d2.tar.gz
fix(case-attr): replace required_access with can_apply_or_reject_edit
approve_case_attributes_diff and reject_case_attributes_diff were using the
old required_access helper which checked a single wrong privilege name
(system:inbredset:edit-case-attribute). Replace with __population_privileges__
+ resources.can_apply_or_reject_edit, consistent with the v1 endpoints.

Flat endpoints derive species_id from the DB since it is not in the URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions