~ltrager/maas:lp1807058

Last commit made on 2018-12-06
Get this branch:
git clone -b lp1807058 https://git.launchpad.net/~ltrager/maas
Only Lee Trager can upload to this branch. If you are Lee Trager please log in for upload directions.

Branch merges

Branch information

Name:
lp1807058
Repository:
lp:~ltrager/maas

Recent commits

f5513a5... by Lee Trager

LP: #1807058 - Increase nginx's client_max_body_size to 10M.

0d7e9eb... by Andres Rodriguez

Correctly update and list license for websockets.py

ef48df4... by Anthony Dillon

LP: #1801132 - Remove duplicated IP addresses in machine list tooltip

dc6dc01... by Blake Rouse

Use the new deploy-machines and view-all permission from RBAC to allow different access levels for the nodes.

deploy-machines allows the user to allocate/deploy/release a machine, but cannot perform admin actions on that machine (eg. adjust interfaces).

view-all allows the user to view all machines in the resource pool even if the machine is owned by a different user (eg. an auditor).

6ba60e0... by Blake Rouse

Use new permission checks in the UI to show and hide actions that the authenticated user can perform.

24569c1... by Blake Rouse

Add permission information over the websocket.

f972dd1... by Blake Rouse

Fix issue where none administrators are presented with the first user system configuration, but cannot update any settings or skip it.

043c6db... by Blake Rouse

Reload user before execution of a handler method, removing all the reload_object(user) logic in the websocket handlers. Add view, edit, create, and delete permission checks to the base websocket handler. Add permission checks on the device, machine, and resource pool handlers.

f62b49f... by Blake Rouse

Fix the node actions to use permission checks instead of handling the checks internally. Add permission checks to the device and machine forms.

Squashed commit of the following:

commit 44e16161a849baa28eb085ae0fe7cea7abc31c9d
Author: Blake Rouse <email address hidden>
Date: Tue Nov 20 13:33:20 2018 -0500

    Part 2.

649d985... by Blake Rouse

Use a thread-local cache to cache resource pool identifiers per request. Prevent administrators from editing locked machines. Add global permissions levels for NodePermission.admin and NodePermission.view.

Squashed commit of the following:

commit 73408d5588c64a82ee99e8c74b7ffb3a9d76af5d
Author: Blake Rouse <email address hidden>
Date: Tue Nov 20 13:26:05 2018 -0500

    Move private method.

commit 37c1e2a58582e3c06cf83e2d06402721d6160445
Author: Blake Rouse <email address hidden>
Date: Tue Nov 20 12:58:17 2018 -0500

    Add tests.

commit bcd535dcf2f0731f5a8b57aed20bb0f052fc9366
Author: Blake Rouse <email address hidden>
Date: Tue Nov 20 11:52:10 2018 -0500

    Split 1.