gitlab-org--gitlab-foss/app/finders/concerns
Bob Van Landuyt 28acd2b087 Hide confidential events in ruby
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.
2018-12-17 18:47:53 +01:00
..
created_at_filter.rb Enable frozen string in app/graphql + app/finders 2018-09-11 12:15:23 -07:00
custom_attributes_filter.rb Merge branch 'frozen-string-app-finders-graphql' into 'master' 2018-09-13 19:44:31 +00:00
finder_methods.rb Merge branch 'frozen-string-app-finders-graphql' into 'master' 2018-09-13 19:44:31 +00:00
finder_with_cross_project_access.rb Hide confidential events in ruby 2018-12-17 18:47:53 +01:00