The MAAS `users create` API should allow True/False for is_superuser

Bug #1884250 reported by Dougal Matthews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
3.4
Won't Fix
Low
Unassigned

Bug Description

`maas $PROFILE users create` expects either 1 or 0 for is_superuser. However, other parts of the API expect True/False. It would be good to make this consistent across the API and True/False seems more intuative.

Tags: api
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

We should also look if we have other inconsistencies like this in the CLI

Changed in maas:
importance: Wishlist → Low
milestone: none → 3.4.0
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.