opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.26k stars 725 forks source link

Cannot remove (old) certificates from user entry #7710

Closed wytchmaster closed 1 month ago

wytchmaster commented 1 month ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

The button to delete / disconnect certificates from user entries is missing. So it is not possible to delete invalid certificates as long as they are connected to a user record.

If I try to remove a certificate which is connected to a user, I get the error message in the screenshot. If I remove the the user, I'm able to delete the certificates. But that's of course not what I want ;-) The "delete certificate" button in the user management is missing in 24.7. It was there in 24.1.

To Reproduce

Steps to reproduce the behavior:

  1. go to local user manager menu
  2. select user
  3. try to delete users certificate
  4. there's no more a button to delete, as there was in 24.1 (only the buttons to download cert or key)

Expected behavior

There should be an icon to delete the users certificate

Screenshots Screenshot_20240801_081735 Screenshot_20240801_091556

Relevant log files

If applicable, information from log files supporting your claim.

Additional context

Add any other context about the problem here.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 24.7_9-amd64 tested on multiple installations, on bare metal and in kvm hypervisor. Hardware is not the problem.

AdSchellevis commented 1 month ago

fixed in https://github.com/opnsense/core/commit/9b112c1c20bf4b08baf34ef0a82235b7da45b71c