#742·pundit

在 `permitted_attributes` 函数中添加 `policy_class` 参数

作者: evgenyneu创建于 2022年8月3日更新于 2024年8月8日
标签simmering

是否可以在 `permitted_attributes` 函数中添加 `policy_class` 参数(类似于 `authorise`)?这样我就可以调用: