Skip to content

Commit

Permalink
[Authorization] Return if namespace policies are read only (#12514)
Browse files Browse the repository at this point in the history
* [Authorization Provider] Return early when namespace policies are read only

* Remove typo fix to simplify cherry-picking

(cherry picked from commit f1e72d6)
  • Loading branch information
michaeljmarshall committed Jan 24, 2022
1 parent f0b8a68 commit e7a1a4f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -290,6 +290,7 @@ public CompletableFuture<Void> grantPermissionAsync(NamespaceName namespaceName,
validatePoliciesReadOnlyAccess();
} catch (Exception e) {
result.completeExceptionally(e);
return result;
}

ZooKeeper globalZk = configCache.getZooKeeper();
Expand Down

0 comments on commit e7a1a4f

Please sign in to comment.