FreeNAS/freenas 03c9fbbsrc/middlewared/middlewared/plugins jail.py

fix(jail/do_update): Throw validation error if plugin and rename are set (#2087)

The plugin bool for options is meant to be used only for setting plugin properties. Those exposed by the settings.json of the plugin.

Trying to rename and set those will fail as the new location does not exist. We shouldn't allow this behavior. The UI also needs a ticket to not send plugin = True when calling do_update until it implements setting plugin properties.

Ticket: #56781
DeltaFile
+4-0src/middlewared/middlewared/plugins/jail.py
+4-01 files

UnifiedSplitRaw