Skip to content

Fix MDM setup API endpoints permissions #10121

@lukeheath

Description

@lukeheath

Context from Luke on Slack:

The bug was #10105

Only a global admin was able to load the "controls" page. That's because we had the API permissions set such that /mdm/apple was only accessible by global admins, but that is required to render the controls page.
Sarah found that endpoint's permissions were lumped together with two others, so for the quick fix we had to make these endpoints accessible to all global and team admins and maintainers:
/mdm/apple, /mdm/apple_bm and /mdm/apple/request_csr

So, we need to ensure permissions are set to the following:

  • GET /mdm/apple: accessible by any global or team admin or maintainer.
  • GET /mdm/apple_bm and POST /mdm/apple/request_csr: accessible to global admins only.

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documented~backendBackend-related issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions