Skip to content

Commit

Permalink
Allow to make private purged and archived histories
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed May 22, 2024
1 parent 994be2f commit f3c6354
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/User/UserPreferences.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default {
_l(
"WARNING: This will make all datasets (excluding library datasets) for which you have " +
"'management' permissions, in all of your histories " +
"private, and will set permissions such that all " +
"private (including archived and purged), and will set permissions such that all " +
"of your new data in these histories is created as private. Any " +
"datasets within that are currently shared will need " +
"to be re-shared or published. Are you sure you " +
Expand Down
1 change: 0 additions & 1 deletion lib/galaxy/webapps/galaxy/controllers/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def make_private(self, trans, history_id=None, all_histories=False, **kwd):
}
for history in histories:
try:
self.history_manager.error_unless_mutable(history)
# Set default role for history to private
trans.app.security_agent.history_set_default_permissions(history, private_permissions)
# Set private role for all datasets
Expand Down

0 comments on commit f3c6354

Please sign in to comment.