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

ga4gh / dockstore / 5755
75%

Build:
DEFAULT BRANCH: develop
Ran 25 Jul 2018 11:37PM UTC
Jobs 5
Files 188
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5755

push

travis-ci

web-flow
Add endpoint for users to get their actions (#1638)

* Add endpoint for users to get their actions

#1589

The issue in the ticket was because the UI was comparing
the GitHub username with the Google email address that came back from
the permissions call. That, plus the fact that I had forgotten about
SAM's support for groups, means we do need an endpoint to indicate
the actions a user can perform on workflow.

I had this before, with OPTIONS operations on a few API calls, but it
was clunky and overkill, so I've added a new endpoint,
`/path/workflow/{repository}/actions`, that returns the actions a user
can perform on a workflow.

The issue with groups is that a user can be given permissions to a
resource through a group -- in that case the user's individual email
will not show up in the list of permissions. So we could not tell
client-side what a user's permissions are just by reading the email
addresses.

Also:

* Added Not Implemented to state changing operations in
NoOpPermissionsImpl, just in case it gets turned on and somebody
tries to use it.

7449 of 12552 relevant lines covered (59.35%)

1.84 hits per line

Jobs
ID Job ID Ran Files Coverage
7 5755.7 (TESTING_PROFILE=unit-tests) 25 Jul 2018 11:37PM UTC 0
14.5
Travis Job 5755.7
8 5755.8 (TESTING_PROFILE=integration-tests) 25 Jul 2018 11:43PM UTC 0
12.58
Travis Job 5755.8
9 5755.9 (TESTING_PROFILE=tool-integration-tests) 25 Jul 2018 11:45PM UTC 0
44.26
Travis Job 5755.9
10 5755.10 (TESTING_PROFILE=workflow-integration-tests) 25 Jul 2018 11:46PM UTC 0
42.85
Travis Job 5755.10
11 5755.11 (TESTING_PROFILE=other-integration-tests) 25 Jul 2018 11:44PM UTC 0
42.18
Travis Job 5755.11
Source Files on build 5755
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5755
  • ee7ee091 on github
  • Prev Build on develop (#5746)
  • Next Build on develop (#5758)
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