add permission and profile feature dependencies