You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2021/08/25 15:46:59 UTC

[GitHub] [brooklyn-server] jcabrerizo commented on a change in pull request #1232: Added HA_ADMIN entitlement and added test coverage for it

jcabrerizo commented on a change in pull request #1232:
URL: https://github.com/apache/brooklyn-server/pull/1232#discussion_r695883183



##########
File path: core/src/test/java/org/apache/brooklyn/core/mgmt/entitlement/EntitlementsTest.java
##########
@@ -161,6 +163,7 @@ public void testGlobalPowerUserEntitlement() {
         assertTrue(user.isEntitled(null, Entitlements.LOGBOOK_LOG_STORE_QUERY, null));
         assertTrue(user.isEntitled(null, Entitlements.ADD_JAVA, null));
         assertFalse(user.isEntitled(null, Entitlements.EXECUTE_GROOVY_SCRIPT, null));
+        assertFalse(user.isEntitled(null, Entitlements.HA_ADMIN, null));

Review comment:
       This should be true, powerUser is the same as root but it can not execute groovy




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org