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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]