@@ -196,14 +196,6 @@ impl PluginType {
196
196
}
197
197
}
198
198
199
- /// Check permissions for the execute lifecycle event.
200
- pub fn check_execute ( plugin_type : & PluginType ) -> CheckResult {
201
- #[ allow( clippy:: match_single_binding) ]
202
- match plugin_type {
203
- _ => CheckResult :: None ,
204
- }
205
- }
206
-
207
199
/// Check permissions for the add external plugin adapter lifecycle event.
208
200
pub fn check_add_external_plugin_adapter ( plugin_type : & PluginType ) -> CheckResult {
209
201
#[ allow( clippy:: match_single_binding) ]
@@ -398,14 +390,6 @@ impl Plugin {
398
390
plugin. inner ( ) . validate_decompress ( ctx)
399
391
}
400
392
401
- /// Validate the execute lifecycle event.
402
- pub ( crate ) fn validate_execute (
403
- plugin : & Plugin ,
404
- ctx : & PluginValidationContext ,
405
- ) -> Result < ValidationResult , ProgramError > {
406
- plugin. inner ( ) . validate_execute ( ctx)
407
- }
408
-
409
393
/// Validate the add external plugin adapter lifecycle event.
410
394
pub ( crate ) fn validate_add_external_plugin_adapter (
411
395
plugin : & Plugin ,
@@ -642,14 +626,6 @@ pub(crate) trait PluginValidation {
642
626
abstain ! ( )
643
627
}
644
628
645
- /// Validate the execute lifecycle action.
646
- fn validate_execute (
647
- & self ,
648
- _ctx : & PluginValidationContext ,
649
- ) -> Result < ValidationResult , ProgramError > {
650
- abstain ! ( )
651
- }
652
-
653
629
/// Validate the update_plugin lifecycle action.
654
630
fn validate_update_external_plugin_adapter (
655
631
& self ,
0 commit comments