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

[Enhancement]: Better confirmation for portal deletion #6040

Open
2 of 4 tasks
DanielBolef opened this issue May 16, 2024 · 0 comments
Open
2 of 4 tasks

[Enhancement]: Better confirmation for portal deletion #6040

DanielBolef opened this issue May 16, 2024 · 0 comments

Comments

@DanielBolef
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description of problem

A super user can delete a portal in just 3 clicks (PersonaBar:Sites -> Delete Site -> "Yes"). The current confirmation only displays the portal name. This does little to prevent a careless user from deleting portals with names similar to the intended portal, or if they have navigated the wrong domain by mistake (say a production site instead of a test site).

Description of solution

Make it more difficult to delete portals. Open to ideas here, but one I thought of is: a confirmation that requires you to input the full URL of the site.

Description of alternatives considered

Implement something that does a complete portal backup when a portal is deleted. Then it could be fully restored if the deletion was a mistake. While I think this would be nice to have anyway, it's more difficult to implement and if a user is trying to do cleanup or something they may go delete the backup too.

Anything else?

This is not just theory, this happened by accident on a site I help maintain. A super user was trying to clean up old portals on a test site, and somehow ended up on the production site and clicked delete on an active portal.

Do you be plan to contribute code for this enhancement?

  • Yes

Would you be interested in sponsoring this enhancement?

  • Yes

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant