Non-admin users can't test deployed machines via the API

Bug #1812212 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned
3.4
Won't Fix
Medium
Unassigned

Bug Description

This is with MAAS 2.5.1-7489-g2f25a2cc0-0ubuntu1~18.04.1.

I have a non-admin user that has a deployed machine.

Via the web UI, I can initiate a test of the machine. However,
if I try to do the same via the API (machine test <machine>), I
get a 403.

tags: added: api
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.5.2
Changed in maas:
milestone: 2.5.2 → 2.5.3
Changed in maas:
milestone: 2.5.3 → 2.5.4
Changed in maas:
milestone: 2.5.4 → none
summary: - [2.5, API] Non-admin users can't test deployed machines via the API
+ Non-admin users can't test deployed machines via the API
Changed in maas:
milestone: none → 3.4.0
tags: added: permissions
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
Changed in maas:
milestone: 3.4.x → 3.5.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.