Right now, all monitoring users are able to enter Setup Mode, but this should be restricted.
Currently, the basic monitoring user will run into errors with the following permissions:
We need to figure out a way to detect these privileges for the current user and enable/disable the setup mode UI accordingly.
Pinging @elastic/stack-monitoring (Team:Monitoring)

This permission set would work for Setup Mode
Another note here.
@jasontedor recommended migrating away from _cat/indices (all _cat apis in general too) and try something like _all as a way to get the list of indices, as used by this call
Most helpful comment
Another note here.
@jasontedor recommended migrating away from
_cat/indices(all_catapis in general too) and try something like_allas a way to get the list of indices, as used by this call