diff --git a/backend/windmill-api/src/scopes.rs b/backend/windmill-api/src/scopes.rs index 28b6e70b01..d9ae3a3344 100644 --- a/backend/windmill-api/src/scopes.rs +++ b/backend/windmill-api/src/scopes.rs @@ -718,7 +718,7 @@ mod tests { fn test_scope_action_hierarchy() { assert!(ScopeAction::Write.includes(&ScopeAction::Read)); assert!(!ScopeAction::Read.includes(&ScopeAction::Write)); - assert!(!ScopeAction::Run.includes(&ScopeAction::Read)); + assert!(ScopeAction::Run.includes(&ScopeAction::Read)); assert!(!ScopeAction::Run.includes(&ScopeAction::Write)); }