Wagtail hooks hypha.apply.review.wagtail_hooks ¶ register_permissions ¶ register_permissions() Source code in hypha/apply/review/wagtail_hooks.py 5 6 7 8 9 10@hooks.register("register_permissions") def register_permissions(): return Permission.objects.filter( content_type__app_label="review", codename__in=["add_review", "change_review", "delete_review"], )