question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hosted workflows + permissions feedback

See original GitHub issue

This is just a grab-bag of feedback for the in-memory implementation + gui2 for permissions as of 423bd67abc07141dbbf9817528adf034c8c27090

Overall looks good, some thoughts below (not necessarily constrained to permissions) FYI @agduncan94 @coverbeck

  1. ~It isn’t obvious what permissions I have on a workflow unless I’m an owner. A minimum fix might be to display the permissions tab but disabled. Better ideas welcomed~ broken out to #1608
  2. Validation errors fail in a non-obvious way ('Save version failed"). Best to relax validation until we can pass useful feedback back to the user (made minimally better with https://github.com/dockstore/dockstore-ui2/pull/337)
  3. ~PATCH method for editing workflows needs to be more robust (saw odd duplicate constraint issues). This might be after validation errors above when writing an incorrect WDL. a) Investigation reveals that this was not a webservice issue. Instead, when creating a new hosted workflow while one is selected (using +), the current files are carried over and will be used in the new workflow. This can carry over WDL files into a new CWL hosted workflow as the most glaring and obvious case for testing~
  4. ~Tab selection carries over when clicking between workflows (which is good), but gets into an odd state if I click from one workflow with permissions to one without~
  5. ~Probably an issue with the in-memory implementation, but as a user with a workflow shared to me with owner permissions. I can casually change my permissions to writer or reader. This probably needs a warning. Second, I seem to still be able to edit permissions after giving away my owner permission but before a refresh, but this might be a in-memory glitch~
  6. ~This might be an issue with the labels endpoint. I can edit labels for a workflow with only reader permission.~
  7. ~After creating a workflow, I don’t see myself as an owner which is a bit odd but probably has to do with us having two concepts of ownership (ownership via sam and ownership via db users collection)~
  8. ~Need to follow-up with idea of namespace obfuscation to avoid leaking email addresses via workflow names~ Broken out into #1645
  9. ~Past 9 revisions, hosted workflows do not auto select the 10,11th versions when they are created by editing files~
  10. ~Files re-order while editing (might be a server thing and fixed server size). Found by editing test.cwl, test2.cwl, and Dockstore.cwl for 9~ addressed in web service
  11. ~Link outs to visualizers like cwlviewer will need to be disabled for hosted workflows~
  12. ~Publish button for shared workflows can be pressed but doesn’t update (actual workflow is published)~
  13. ~What happens with nested folder names with hosted workflows? (this is a request to test out adding a workflow that uses folders to hosted workflows and then trying it out via launching or download)~

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
coverbeckcommented, Aug 17, 2018

Links to CWLviewer for hosted workflows is not disabled.<<

This made me realize belatedly that CWLviewer should only be enabled for GitHub workflows (no BitBucket, etc.)

I’d overlooked this item; I’ll submit a PR today.

0reactions
denis-yuencommented, Aug 20, 2018

#2 is taken over by #1729 I think everything else is clear so I’m closing this out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set permissions on document for collect feedback workflow
I can't give permissions to users on the library level in advance because of customer requirements. So they want to start the collect...
Read more >
Workflows roles and permissions | Google Cloud
The following table lists the Workflows predefined IAM roles with a corresponding list of all the permissions each role includes. The available roles...
Read more >
Assigning permissions to jobs - GitHub Enterprise Cloud Docs
This example shows permissions being set for the GITHUB_TOKEN that will apply to all jobs in the workflow. All permissions are granted read...
Read more >
Create a workflow with elevated permissions by using the ...
This article describes how to create SharePoint workflows that access objects in SharePoint that require elevated permissions.
Read more >
GitHub Actions: Limit workflow runs & Control permissions for ...
GitHub Actions now supports a concurrency key at both the workflow and job level that will ensure that only a single run or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found