ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
35 stars 3 forks source link

4.x Reader role can delete logs #3880

Open DataTraveler1 opened 1 week ago

DataTraveler1 commented 1 week ago

Version

4.4.1

Severity

Low

Environment

msi

Steps to Reproduce

  1. Install PSU 4.4.1 MSI
  2. Create a new local user with only the Read role
  3. Logon as that local user
  4. Observe that the delete button is available under Platform --> Logging

Expected behavior

There should not be a delete button for a user with the Read role

Actual behavior

There is a delete button for a user with the Read role

Additional Environment data

No response

Screenshots/Animations

image

DataTraveler1 commented 1 week ago

I forgot to mention this is 4.x only. This behavior does not occur in 5.x.