~blake-rouse/maas:fix-pod-rbac

Last commit made on 2018-12-07
Get this branch:
git clone -b fix-pod-rbac https://git.launchpad.net/~blake-rouse/maas
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Branch information

Name:
fix-pod-rbac
Repository:
lp:~blake-rouse/maas

Recent commits

bb2be6c... by Blake Rouse

Add tests.

280f4ca... by Blake Rouse

Split compose permission into compose and dynamic_compose. Add permission checks to the websocket and API layers.

ee58cf6... by Blake Rouse

Add compose permission to the websocket output.

4e19e8d... by Blake Rouse

Add a new PodPermission and use it to check permission access to a Pod.

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.