gitlab-org--gitlab-foss/spec/finders
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
..
admin
autocomplete
concerns Hide confidential events in ruby 2018-12-17 18:47:53 +01:00
projects/serverless Introduce Knative Serverless Tab 2018-12-06 18:08:49 +00:00
access_requests_finder_spec.rb
applications_finder_spec.rb
awarded_emoji_finder_spec.rb
branches_finder_spec.rb
cluster_ancestors_finder_spec.rb Check can :read_clusters in finder 2018-12-17 09:51:53 +13:00
clusters_finder_spec.rb
contributed_projects_finder_spec.rb
environments_finder_spec.rb
events_finder_spec.rb Hide confidential events in ruby 2018-12-17 18:47:53 +01:00
fork_projects_finder_spec.rb
group_descendants_finder_spec.rb
group_labels_finder_spec.rb
group_members_finder_spec.rb Resolve "Can add an existing group member into a group project with new permissions but permissions are not overridden" 2018-12-06 13:15:29 +00:00
group_projects_finder_spec.rb
groups_finder_spec.rb
issues_finder_spec.rb
joined_groups_finder_spec.rb
labels_finder_spec.rb
license_template_finder_spec.rb
members_finder_spec.rb
merge_request_target_project_finder_spec.rb
merge_requests_finder_spec.rb
milestones_finder_spec.rb
notes_finder_spec.rb
pending_todos_finder_spec.rb
personal_access_tokens_finder_spec.rb
personal_projects_finder_spec.rb
pipeline_schedules_finder_spec.rb
pipelines_finder_spec.rb
projects_finder_spec.rb
runner_jobs_finder_spec.rb
snippets_finder_spec.rb
tags_finder_spec.rb
template_finder_spec.rb
todos_finder_spec.rb
user_finder_spec.rb
user_recent_events_finder_spec.rb Hide confidential events in ruby 2018-12-17 18:47:53 +01:00
users_finder_spec.rb
users_with_pending_todos_finder_spec.rb