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

require TwoFA to be verified before updating code base #14322

Merged
merged 2 commits into from Apr 10, 2019
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Apr 7, 2019

fix #14251

Not sure if there could be any side effect, can't really think of any though. @diosmosis do you maybe have any idea?

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Apr 7, 2019
@tsteur tsteur added this to the 3.10.0 milestone Apr 7, 2019
@diosmosis
Copy link
Member

Maybe oneClickResults should require 2FA too?

Actually, I'm not so sure this solves the problem completely. Thinking about it, it doesn't really make sense that everyone is able to see the "complete the update" screen, maybe that can be the complete fix (for a later release, not necessarily in this PR).

@tsteur
Copy link
Member Author

tsteur commented Apr 8, 2019

Actually, I'm not so sure this solves the problem completely. Thinking about it, it doesn't really make sense that everyone is able to see the "complete the update" screen, maybe that can be the complete fix (for a later release, not necessarily in this PR).

You mean the screen where the DB is being upgraded etc? I think it is because sometimes the login may not function anymore without the DB upgrade etc

@diosmosis
Copy link
Member

It might not, but it probably should work regardless. I think that's something we can test for before releasing (the one click update test might be a possible place).

@tsteur
Copy link
Member Author

tsteur commented Apr 9, 2019

It depends though eg from which version you up date.

@diosmosis
Copy link
Member

@tsteur do you think the oneClickResults controller action should also require 2FA?

@tsteur
Copy link
Member Author

tsteur commented Apr 10, 2019

@diosmosis I think it shouldn't. There may be various issues where you may not be logged in or have other problems etc. It should be fine to access this page even logged out.

@diosmosis diosmosis merged commit 65b5523 into 3.x-dev Apr 10, 2019
@diosmosis diosmosis deleted the 14251 branch April 10, 2019 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

require TwoFA to be verified before updating code base
2 participants