Bugfix nested grid
Implement the delete permission function w/ some changes to the DOM.
Finish the implementation of the delete function. Add some extra security tests.