~newell-jensen/maas:add-delete-with-audit-event

Last commit made on 2018-11-02
Get this branch:
git clone -b add-delete-with-audit-event https://git.launchpad.net/~newell-jensen/maas
Only Newell Jensen can upload to this branch. If you are Newell Jensen please log in for upload directions.

Branch merges

Branch information

Name:
add-delete-with-audit-event
Repository:
lp:~newell-jensen/maas

Recent commits

76a6bb0... by Newell Jensen

Fix lint.

5f6cf92... by Newell Jensen

Add delete_with_audit_event method and helper logic that will take an object and create an event with the proper event_type and description during object deletion.

da3114c... by Spencer Seidel

Added addition API annotation type "json".

a348278... by Lee Trager

LP: #1801152 - Ensure 99-maas-02-capture-lldp never sleeps longer than 60s.

e2e0609... by Blake Rouse

Update the permission checks to use RBAC node permissions for BlockDevice, FilesystemGroup, and Interface.

dc146bd... by Blake Rouse

Push only the difference of changes for resource pools from MAAS to RBAC. When an error occurs communicating with RBAC add a 10 second delay so it doesn't spam RBAC.

Includes a drive-by fix where setting the RBAC URL with an ending '/' causes communication to fail.

09f098f... by Alberto Donato

return an error if no registerable services are found in RBAC

73b3cbb... by Blake Rouse

Always use the MAASAuthorizationBackend to check for user permissions.

Django User model uses a shortcut in saying if the user is a is_superuser then they have all permissions. Now with RBAC this is not the case because even users that have is_superuser set doesn't mean they can perform some actions.

623d38f... by Newell Jensen

LP: #1789290 -- Raise exception so that machine cannot be saved if using an invalid IP for IPMI.

83f2293... by Lee Trager

LP: #1790976 - Use AngularJS to escape maas-obj-form errors