Hide sidenav items from users without permissions
Hide items in the navbar for users that do not have the permission(s) associated with that specific item.
Eg. hide the Media Library
item for users without the view_media
permission.
Additionally, if no items are left in that specific menu, just hide it's entry completely.