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 password confirmation when removing a site in UI #19591

Merged
merged 5 commits into from Aug 5, 2022

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Aug 2, 2022

Description:

As removing a site is an action that can't be undone, it's more secure to ask for a password confirmation in the UI.
This will prevent accidentally removing a site and will make it e.g. impossible to use an active session of someone else to remove sites without knowing the password.

Review

@sgiehl sgiehl added c: Security For issues that make Matomo more secure. Please report issues through HackerOne and not in Github. Needs Review PRs that need a code review labels Aug 2, 2022
@sgiehl sgiehl added this to the 4.12.0 milestone Aug 2, 2022
@sgiehl
Copy link
Member Author

sgiehl commented Aug 2, 2022

Will update the screenshots once #19586 has been merged, to avoid merge conflicts.

Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor text update needed, other than that this works well and looks ready to merge 👍

plugins/SitesManager/API.php Outdated Show resolved Hide resolved
@bx80 bx80 removed the Needs Review PRs that need a code review label Aug 5, 2022
@sgiehl sgiehl merged commit ffb210b into 4.x-dev Aug 5, 2022
@sgiehl sgiehl deleted the deletesiteconfirm branch August 5, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Security For issues that make Matomo more secure. Please report issues through HackerOne and not in Github.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants