()
| 470 | |
| 471 | #[test] |
| 472 | fn no_openshell_scopes_denied() { |
| 473 | let id = identity_with_roles_and_scopes(&["openshell-user"], &[]); |
| 474 | let policy = scoped_policy(); |
| 475 | assert!( |
| 476 | policy |
| 477 | .check(&id, "/openshell.v1.OpenShell/ListSandboxes") |
| 478 | .is_err() |
| 479 | ); |
| 480 | } |
| 481 | |
| 482 | #[test] |
| 483 | fn openshell_all_with_user_role() { |
nothing calls this directly
no test coverage detected