about summary refs log tree commit diff
path: root/sql
diff options
context:
space:
mode:
authorClaude Sonnet 4.6 <noreply@anthropic.com>2026-08-28 20:00:00 +0000
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-08-28 15:04:53 -0500
commit41e8ccb5fd350f4046ef7ddef873490667bd08b7 (patch)
tree430f13a462accff2f84a4a4dc95d6e6c085c283e /sql
parent011f6477da2cfc9f05525a058b989e14e70df42b (diff)
downloadgenenetwork3-41e8ccb5fd350f4046ef7ddef873490667bd08b7.tar.gz
Fix __population_privileges__: pass Bearer token to resource roles endpoint
GET /auth/resource/<id>/roles requires authentication.  The call was made
without an Authorization header, so the auth server always returned an error
and resource_privs was always an empty tuple.  The resource_spec branch of
can_edit (gn_libs.privileges.resources) was therefore permanently unreachable,
meaning resource-owners could never edit case attributes via their role.

The system roles call on the line below correctly forwarded the bearer token;
this applies the same pattern to the resource roles call.

Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions