聚合端点的用户限制资源访问

User-restricted resource access for aggregate endpoints

有没有办法将 user-restricted resource access 应用于聚合端点?

我目前正在混合使用资源访问限制和 pre-request event hooks to restrict access to all endpoints, but it doesn't work for aggregation 端点。

现在可以通过预请求事件挂钩功能添加聚合匹配过滤器来实现。 before_aggregationafter_aggregation 这两个新事件挂钩在 python-eve 的开发分支(master,版本:0.8-dev)中可用。