• Bob Van Landuyt's avatar
    Hide confidential events in ruby · 28acd2b0
    Bob Van Landuyt authored
    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.
Last commit
Last update
created_at_filter.rb Loading commit data...
custom_attributes_filter.rb Loading commit data...
finder_methods.rb Loading commit data...
finder_with_cross_project_access.rb Loading commit data...