first pass at access control setup
This commit is contained in:
@@ -368,7 +368,7 @@ mod tests {
|
||||
pack: 1,
|
||||
pack_ref: "test".to_string(),
|
||||
label: "Test Rule".to_string(),
|
||||
description: "Test rule description".to_string(),
|
||||
description: Some("Test rule description".to_string()),
|
||||
trigger_ref: "test.trigger".to_string(),
|
||||
trigger: Some(1),
|
||||
action_ref: "test.action".to_string(),
|
||||
|
||||
@@ -99,7 +99,7 @@ async fn create_test_action(pool: &PgPool, pack_id: i64, pack_ref: &str, suffix:
|
||||
pack: pack_id,
|
||||
pack_ref: pack_ref.to_string(),
|
||||
label: format!("FIFO Test Action {}", suffix),
|
||||
description: format!("Test action {}", suffix),
|
||||
description: Some(format!("Test action {}", suffix)),
|
||||
entrypoint: "echo test".to_string(),
|
||||
runtime: None,
|
||||
runtime_version_constraint: None,
|
||||
|
||||
@@ -94,7 +94,7 @@ async fn create_test_action(pool: &PgPool, pack_id: i64, suffix: &str) -> i64 {
|
||||
pack: pack_id,
|
||||
pack_ref: format!("test_pack_{}", suffix),
|
||||
label: format!("Test Action {}", suffix),
|
||||
description: format!("Test action {}", suffix),
|
||||
description: Some(format!("Test action {}", suffix)),
|
||||
entrypoint: "echo test".to_string(),
|
||||
runtime: None,
|
||||
runtime_version_constraint: None,
|
||||
|
||||
Reference in New Issue
Block a user