jcabrerizo commented on a change in pull request #1210:
URL: https://github.com/apache/brooklyn-server/pull/1210#discussion_r675497190
##########
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:
No for now. If we need to reuse the name of the entitlement manager we
can create, but if not, I think is more clear to see directly the value here.
--
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]