Closed fqxp closed 2 years ago
Fixes https://github.com/varvet/pundit/issues/689
This patch makes authorize remove namespaces before passing them to the constructor of policy_class, if defined.
authorize
policy_class
Added tests accordingly.
Thanks for contributing this; I hope this gets resolved.
Thanks for this! We built on top of this in #697, and will be merging it shortly.
Fixes https://github.com/varvet/pundit/issues/689
This patch makes
authorize
remove namespaces before passing them to the constructor ofpolicy_class
, if defined.Added tests accordingly.