HUE-950 [core] Support for saving and displaying permissions, added History section functions too