Helper for making plugin-specific createPermissionRule functions, that have
the TResource and TQuery type parameters populated but infer the params from
the supplied rule. This helps ensure that rules created for this plugin use
consistent types for the resource and query.
Helper for making plugin-specific createPermissionRule functions, that have the TResource and TQuery type parameters populated but infer the params from the supplied rule. This helps ensure that rules created for this plugin use consistent types for the resource and query.