28acd2b087
We're filtering the events using `Event#visible_to_user?`. At most we're loading 100 events at once. Pagination is also dealt with in the finder, but the resulting array is wrapped in a `Kaminari.paginate_array` so the API's pagination helpers keep working. We're passing the total count into that paginatable array, which would include confidential events. But we're not disclosing anything. |
||
---|---|---|
.. | ||
api | ||
projects | ||
git_http_spec.rb | ||
jwt_controller_spec.rb | ||
lfs_http_spec.rb | ||
lfs_locks_api_spec.rb | ||
oauth_tokens_spec.rb | ||
openid_connect_spec.rb | ||
rack_attack_global_spec.rb | ||
request_profiler_spec.rb |