mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
cloudcommon: virtualresource: allow setting is_system on creation
We have validation against the field yet the rule tag metadata does not actually allow it
This commit is contained in:
@@ -31,7 +31,7 @@ type SVirtualResourceBase struct {
|
||||
|
||||
ProjectId string `name:"tenant_id" width:"128" charset:"ascii" nullable:"false" index:"true" list:"admin"`
|
||||
|
||||
IsSystem bool `nullable:"true" default:"false" list:"admin"`
|
||||
IsSystem bool `nullable:"true" default:"false" list:"admin" create:"optional"`
|
||||
|
||||
PendingDeletedAt time.Time ``
|
||||
PendingDeleted bool `nullable:"false" default:"false" index:"true" get:"admin"`
|
||||
|
||||
Reference in New Issue
Block a user