Whether this definition has non-empty permission rules.
(&self)
| 489 | |
| 490 | /// Whether this definition has non-empty permission rules. |
| 491 | pub fn has_defined_permissions(&self) -> bool { |
| 492 | !self.permissions.allow.is_empty() || !self.permissions.deny.is_empty() |
| 493 | } |
| 494 | |
| 495 | /// Apply this definition's declared configuration to a mutable AgentConfig. |
| 496 | /// |