mirror of
https://github.com/itflow-org/itflow
synced 2026-09-14 02:35:12 +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:
@@ -10,6 +10,7 @@
|
||||
* ticket_reply_id optional - Return a single reply by its own ID
|
||||
* ticket_id optional - Return all replies on a single ticket
|
||||
* type optional - Filter by reply type: Internal, Public or Client
|
||||
* client_id optional - Only return replies on tickets for this client
|
||||
* include_archived optional - Set to 1 to include archived replies (default: excluded)
|
||||
* limit optional - Max rows to return (default 50)
|
||||
* offset optional - Offset for pagination (default 0)
|
||||
|
||||
Reference in New Issue
Block a user