diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-02-13 17:21:31 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-02-13 17:21:31 +0100 |
commit | 7a3d23a264ab4f3c9325b8bd6cff14caf32f1cbb (patch) | |
tree | 99ce988f99c5dff97de2b965f876b861b2bd971d /controller-api | |
parent | 7ee1cd259c8817d8f9f89fcb4d7741fe54fd24da (diff) |
Introduce ZmsClient.hasHostedOperatorAccess()
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZmsClient.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZmsClient.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZmsClient.java index a8e5db4f952..e8bc16ca271 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZmsClient.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZmsClient.java @@ -26,6 +26,8 @@ public interface ZmsClient { boolean hasTenantAdminAccess(AthenzIdentity athenzIdentity, AthenzDomain tenantDomain); + boolean hasHostedOperatorAccess(AthenzIdentity identity); + // Used before vespa tenancy is established for the domain. boolean isDomainAdmin(AthenzIdentity athenzIdentity, AthenzDomain domain); |