| # SPDX-FileCopyrightText: 2022-present Open Networking Foundation <info@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| enterprise := enterprise_rule |
| "connectivity_services": object.get(input, "connectivity_services", {}), |
| enterprise_rule[enterprise] { |
| enterprise := input.enterprises.enterprise[_] |
| ["AetherROCAdmin", enterprise.enterprise_id][_] == input.groups[i] |
| can_update_enterprise = true { |
| update_enterprise := input.updates.enterprises.enterprise[_] |
| ["AetherROCAdmin", update_enterprise.enterprise_id][_] == input.groups[i] |