fleet/ee/server/service
Roberto Dip 666ae8d787
ensure ds.TeamByName returns a 4xx response if no team is found (#12620)
this helps consumer of the datastore method handle the not found
scenario better and ensures we always return a 4xx code by default if we
can't find a matching team.

seems like calls to this method were special-cased everywhere except in
the apply user roles endpoint, where we returned a `500` status code if
we couldn't find a team.
2023-07-13 11:55:05 -03:00
..
appconfig.go enable controlled rollout of features by teams (#7408) 2022-08-30 08:13:09 -03:00
devices.go Implement Windows MDM programmatic unenrollment (notification + orbit trigger) (#12505) 2023-06-28 09:13:37 -04:00
errors.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
hosts.go only include policies in device endpoints for premium users (#6077) 2022-06-07 13:27:13 -03:00
mdm_profiles.go set DeferForceAtUserLoginMaxBypassAttempts in FV profile (#12729) 2023-07-13 11:54:05 -03:00
mdm_test.go remove unused logic specific to DEP+Okta+ROP (#11261) 2023-04-21 14:57:52 -03:00
mdm.go Add support to configure and enable Windows MDM, notify elegible hosts (#12340) 2023-06-20 14:06:45 -04:00
service.go Implement preassign endpoint as first step to match profiles and hosts to teams (#12046) 2023-05-31 09:24:22 -04:00
software.go Update aggregated_stats to support "no team" in addition to "all teams" (#10466) 2023-03-14 17:01:16 -04:00
teams_test.go If user is a global/team observer/observer+, 'teams' endpoints should not include secrets (#12216) 2023-06-08 17:30:34 -04:00
teams.go ensure ds.TeamByName returns a 4xx response if no team is found (#12620) 2023-07-13 11:55:05 -03:00
users_test.go Allow setting user roles during JIT provisioning (#10193) 2023-03-01 20:18:40 -03:00
users.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00