fleet/server/authz
Roberto Dip 9fb8fa464c
restore restrictive permissions for GET /mdm/apple and adjust UI (#10282)
Related to #10121 this reverts #10107, and modifies the UI to use
`mdm.enabled_and_configured` instead of the `GET /mdm/apple` endpoint so
we don't face permissions issues and Maintainers are able to see the
Controls page.

More details and rationale in
https://github.com/fleetdm/fleet/issues/10121#issuecomment-1450335235

Tested with Admins, Maintainers and Observers
2023-03-06 16:54:37 -03:00
..
authz.go Bump go to 1.19.1 (#7690) 2022-09-12 20:32:43 -03:00
errors.go Improved Datastore usage of osquery hosts requests (#3601) 2022-01-17 22:52:09 -03:00
policy_test.go Allow updating enable_disk_encryption via the Modify Team endpoint (#10208) 2023-03-06 09:54:51 -05:00
policy_test.rego Add authorization checks in service (#938) 2021-06-03 16:24:15 -07:00
policy.rego restore restrictive permissions for GET /mdm/apple and adjust UI (#10282) 2023-03-06 16:54:37 -03:00