fleet/server/authz
Victor Lyuboslavsky f38524a8b7
Fixes to /fleet/queries/run endpoint (#14909)
Fixes to /fleet/queries/run endpoint:
- now returns 403 for an unauthorized user
- now returns 400 when query_ids or host_ids are not specified

#11446 and #11901

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

API clarifications are in a separate PR
https://github.com/fleetdm/fleet/pull/14956

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2023-11-06 11:03:42 -06:00
..
authz.go Bump go to 1.19.1 (#7690) 2022-09-12 20:32:43 -03:00
errors.go Fixes to /fleet/queries/run endpoint (#14909) 2023-11-06 11:03:42 -06:00
policy.rego Feat windows msmdm (#14837) 2023-11-01 11:13:12 -03:00
policy_test.go Feat windows msmdm (#14837) 2023-11-01 11:13:12 -03:00
policy_test.rego Add authorization checks in service (#938) 2021-06-03 16:24:15 -07:00