Skip to content

Replace v-html with v-safe-html in delete_user_modal.vue

Kev requested to merge KevSlashNull/gitlab:241921-Replace-v-html into master

What does this MR do?

This MR replaces v-html with v-safe-html in app/assets/javascripts/pages/admin/users/components/delete_user_modal.vue.

Relates to #241921 (closed).

Screenshots

The affected component is the user delete modal in the admin panel.

  1. Go to the admin dashboard
  2. Go to a user page
  3. Click on "Delete user and contributions"
  4. Check that the modal is rendered correctly (especially the text above the input).

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Merge request reports