[PATCH 2/2] Added permissions checking to roles controller and added the privilege list to the details pane.