Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[19.05] Fix application of history default permissions to anonymous histories carried over upon login #7904

Conversation

natefoo
Copy link
Member

@natefoo natefoo commented May 6, 2019

This was originally addressed many years ago when the behavior on login was updated in ca6ba6e. I believe the intent was to ensure that permission defaults would only be set on histories that were created while anonymous but as it was, they would only be applied to users who had no previous sessions, which would only happen on registration/creation.

Histories created upon login have their permission defaults set in the new history creation method, histories that are already owned by the user are not modified.

@natefoo natefoo added this to the 19.09 milestone May 6, 2019
@martenson
Copy link
Member

martenson commented May 6, 2019

Can we target 19.05 with this? Or we can backport, but I think it is worth it.

@natefoo natefoo changed the base branch from dev to release_19.05 May 7, 2019 16:23
@natefoo natefoo force-pushed the login-apply-history-permissions branch from f4385a9 to 48c5b58 Compare May 7, 2019 16:23
@natefoo natefoo changed the title Fix application of history default permissions to anonymous histories carried over upon login [19.05] Fix application of history default permissions to anonymous histories carried over upon login May 7, 2019
@natefoo natefoo modified the milestones: 19.09, 19.05 May 7, 2019
@natefoo
Copy link
Member Author

natefoo commented May 7, 2019

Retargeted to 19.05.

@martenson martenson merged commit 7a4ca3a into galaxyproject:release_19.05 May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/auth Authentication and authorization area/security kind/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants