New permissions for Medium, Model, Operatingsystem
Backported fix from #1129

Can be skipped after rebase
WIP New permissions for Ptable, Puppetclass, Report
New permissions for Subnet, Usergroup and User