mirror of
https://github.com/itflow-org/itflow
synced 2026-09-09 00:05:13 +00:00
API: allow reads to filter by client_id on top of RBAC client scoping
The RBAC rework dropped the client_id read filter along with per-key client scope, so an all-clients key could no longer narrow to one client. apiClientScopeSql() now appends the filter after the scope fragment, so it can only narrow, never widen. Reads only - writes take client_id as their target client.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* year (optional) - Filter by year (default: current year)
|
||||
* month (optional) - Filter by month 1-12 (default: current month)
|
||||
* technician_id (optional) - Filter by specific technician user ID
|
||||
* client_id (optional) - Only count time on tickets for this client
|
||||
* limit (optional) - Number of results to return (default: 50)
|
||||
* offset (optional) - Offset for pagination (default: 0)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user