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/07/23 10:53:03 UTC
[GitHub] [brooklyn-server] algairim commented on a change in pull request #1210: Feature/entitlement execute script
algairim commented on a change in pull request #1210:
URL: https://github.com/apache/brooklyn-server/pull/1210#discussion_r675479072
##########
File path: core/src/main/java/org/apache/brooklyn/core/mgmt/entitlement/Entitlements.java
##########
@@ -480,6 +503,8 @@ public static EntitlementManager load(@Nullable ManagementContext mgmt, Brooklyn
return minimal();
} else if ("user".equalsIgnoreCase(type)) {
return user();
+ } else if ("powerUser".equalsIgnoreCase(type) || "power_user".equalsIgnoreCase(type)) {
+ return powerUser();
Review comment:
Do we have constants for these to re-use?
--
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