Workspace Lock Completed

Post author
Beri

The option to lock a workspace is not available in the hamburger menu. Was this option removed in Terra or will it be available in later releases? Its was a great way of avoiding accidently deleting a workspace. 

Comments

13 comments

  • Comment author
    Samantha (she/her)
    • Official comment

    Hi all,

    We've added the lock workspace feature to the Terra UI, which was previously only available via the old Firecloud portal or Swagger API. 

    Locking the workspace now also prevents it from getting deleted.

    Best,

    Samantha

  • Comment author
    Sushma Chaluvadi

    The Lock function is not available in Terra so a Feature Request for this would be the way to go!

    0
  • Comment author
    Beri
    • Edited

    Moved post to the feature request community forum.

    0
  • Comment author
    Brad Taylor

    Hi Beri,

    We've found that only a very small number of workspaces use the locking functionality, many of which are owned by our internal content development group. At this time, we're going to hold off adding workspace locking to Terra UI unless we hear significant additional requests from the community. We want to avoid complicating Terra with less-used features that make it harder to learn.

     

    We will have the UI respect the locking functionality. Users will still be able to lock their workspace via the API, and have the lock applied in Terra. However, we're going to hold off on adding lock/unlock buttons to the UI unless we hear more desire for this.


    Thanks
    Brad

    0
  • Comment author
    Benjamin Doran

    What is the "lock" feature. ( I came directly to terra, not through firecloud ). One feature our group would love is to set a workspace to read only and auto-coldstore all files in the workspace bucket. Is this the "lock" feature?

    0
  • Comment author
    Sushma Chaluvadi

    Benjamin,

    The "lock" feature as it was in FireCloud prevented edits from being made to a workspace, so no one could change or run anything in a workspace. It also prevented the workspace from being deleted haphazardly. It essentially freezes a workspace.

    0
  • Comment author
    Benjamin Doran

    That sounds great!

    Our lab has been looking for a way, as papers are published and projects finish, to freeze workspaces. We need to keep all the scripts and data, so we don't want them deleted. It would be really helpful for us if this feature was added to the workspace dashboard options as is.  

    And an added bonus would be if we could set it to coldstore the bucket to reduce storage costs for the long term.

     

    0
  • Comment author
    Sushma Chaluvadi

    I have added your request to an existing ticket for locking a workspace and can let you know if the status changes!

    As for coldline storage options for a workspace associated bucket, the work is in the roadmap but at this time we are unable to provide an exact date/time - I will be sure to keep you updated on that as well.

    1
  • Comment author
    Benjamin Doran

    Thanks!

    0
  • Comment author
    Matt Bookman

    It would be great to:

    • lock a workspace through the Terra UI
    • see a lock status on the workspace "card"
    • filter the workspace view based on lock status

    Essentially looking for a way to "archive" a workspace. This locking mechanism is the closest existing match.

    0
  • Comment author
    Matt Bookman

    I just tested locking a workspace. The Terra UI did not fully respect the workspace lock.

    The workspace lock was respected by:

    • The DASHBOARD edit tool
    • The WORKFLOWs list and launch pages
    • The DATA tab, except for one item listed below

    The workspace lock was not respected by:

    • The NOTEBOOKS tab (I edited a notebook, created a new notebook)
    • The Data/Files section (I deleted a file from the workspace bucket)

    Will send a support ticket for this.

     

     

    0
  • Comment author
    Chet Birger

    What is the status of the workspace lock feature?  I understand it is not available through Terra's GUI, but is available through the API (/api/workspaces/{workspaceNamespace}/{workspaceName}/lock).  Do both the GUI and API respect the lock feature, i.e., a workspace cannot be altered by anyone while it is in the locked/frozen state, but a workspace owner can unlock the workspace?  We would like to utilize this feature for a large collaborative project we are engaged in.

    1
  • Comment author
    Jason Cerrato

    Hi Chet,

    There are no recent updates for the build of this feature in the Terra UI, but I am happy to inform the appropriate manager of new/continued interest. The GUI and API respect the lock feature as it was originally designed. This lock feature disallows actions such as

    • editing the dashboard
    • running workflows
    • adding/deleting tables

    It does not disallow actions such as

    • opening a notebook in edit mode and running cells (does not affect notebooks)
    • viewing/downloading/deleting files (does not trickle down to buckets)
    • deleting files
    • deleting the workspace (only owners can do this anyhow)

    The function essentially disallows mutation of the workspace. If you are interested in seeing this lock function extended in some way, I'm also happy to file a feature request for that.

    Kind regards,
    Jason

    0

Please sign in to leave a comment.