Check if this scope allows access to a project.
(&self, project: &str)
| 351 | |
| 352 | /// Check if this scope allows access to a project. |
| 353 | pub fn allows_project(&self, project: &str) -> bool { |
| 354 | matches_any(&self.projects, project) |
| 355 | } |
| 356 | |
| 357 | /// Check if this scope allows access to a view. |
| 358 | pub fn allows_view(&self, view_name: &str) -> bool { |
no test coverage detected