(&self, repo_id: RepoId)
| 510 | } |
| 511 | |
| 512 | pub fn can_read(&self, repo_id: RepoId) -> bool { |
| 513 | if self.super_user { |
| 514 | return true; |
| 515 | } |
| 516 | self.read_repo_ids.include(repo_id) |
| 517 | } |
| 518 | |
| 519 | pub fn can_update(&self, repo_id: RepoId) -> bool { |
| 520 | if self.super_user { |
no test coverage detected