~blake-rouse/maas:rbac-ui

Last commit made on 2018-11-29
Get this branch:
git clone -b rbac-ui 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:
rbac-ui
Repository:
lp:~blake-rouse/maas

Recent commits

1aed679... by Blake Rouse

Fix code review.

cb29632... by Blake Rouse

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

223d59c... by Blake Rouse

Add permission information over the websocket.

10c2010... by Blake Rouse

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

80bcc11... 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.

8d914a4... 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.

2b53494... 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.

3646351... by Spencer Seidel

Added API annotations and examples

68d5161... by Spencer Seidel

Added API annotations with examples.

bd66bf4... by Spencer Seidel

Added API annotations with examples.