fix: change GlobalPermission to false in order to prevent public image creation
This commit is contained in:
parent
dc0db4b322
commit
03f8b2ceb5
|
@ -40,7 +40,7 @@ func (s *StepUpdateOMIAttributes) Run(_ context.Context, state multistep.StateBa
|
|||
PermissionsToCreateVolume: oapi.PermissionsOnResourceCreation{
|
||||
Additions: oapi.PermissionsOnResource{
|
||||
AccountIds: s.AccountIds,
|
||||
GlobalPermission: true,
|
||||
GlobalPermission: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ func (s *StepUpdateOMIAttributes) Run(_ context.Context, state multistep.StateBa
|
|||
PermissionsToLaunch: oapi.PermissionsOnResourceCreation{
|
||||
Additions: oapi.PermissionsOnResource{
|
||||
AccountIds: s.AccountIds,
|
||||
GlobalPermission: true,
|
||||
GlobalPermission: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue