• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / 70c68331-cf1b-4a24-806a-e76a96e3e633

07 Nov 2025 04:07PM UTC coverage: 87.228% (-3.8%) from 91.075%
70c68331-cf1b-4a24-806a-e76a96e3e633

push

circleci

web-flow
Fixes bug in check for user_has_access for data users (#2164)

There was a bug in the presenter code that checks whether a user has
access to a project, the code was treating the `data_users` as a list of
`uid`s but that list is now a list of `User`s. I probably introduced
this bug when I refactored the code that fetches data straight from
Mediaflux.

This PR fixes the issue and adds a test for it.

2725 of 3124 relevant lines covered (87.23%)

453.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/controllers/request_submit_controller.rb
1
# frozen_string_literal: true
2
class RequestSubmitController < ApplicationController
2✔
3
  before_action :set_breadcrumbs
2✔
4

5
  # GET /request_submit
6
  def index; end
2✔
7

8
  private
2✔
9

10
    def set_breadcrumbs
2✔
11
      add_breadcrumb("Dashboard", dashboard_path)
4✔
12
      add_breadcrumb("New Project Request")
4✔
13
    end
14
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc