cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
293 stars 75 forks source link

Can try to create a VM with system session when not administrator #1806

Open jelly opened 2 months ago

jelly commented 2 months ago

image

Error:

image

I don't believe a normal user should be able to create a system session ever?

garrett commented 2 months ago

I don't believe a normal user should be able to create a system session ever?

Only when they have admin access.

I'm pretty sure the original design was to not have radio buttons for system and user session in the cases where you not have admin access (as some users are able to sign in but don't have the ability to become admin). It is supposed to show just the label and "User session" as plain text without the options.