erikbocks commented on code in PR #14225:
URL: https://github.com/apache/cloudstack/pull/14225#discussion_r4771553530


##########
server/src/main/java/com/cloud/user/AccountManager.java:
##########
@@ -192,6 +192,8 @@ void buildACLViewSearchCriteria(SearchCriteria<? extends 
ControlledViewEntity> s
     ConfigKey<Boolean> UseSecretKeyInResponse = new 
ConfigKey<Boolean>("Advanced", Boolean.class, "use.secret.key.in.response", 
"false",
             "This parameter allows the users to enable or disable of showing 
secret key as a part of response for various APIs. By default it is set to 
false.", true);
 
+    ConfigKey<Boolean> DisableDefaultView = new ConfigKey<>("Advanced", 
Boolean.class, "disable.default.view", "false", "This defines if the account 
will have access to the default view, or only to the projects it is associated 
to. In the GUI, if the account does not have access to any project, the Default 
View will be rendered.", true, ConfigKey.Scope.Account);

Review Comment:
   Hello, @Damans227 
   
   Yes, the idea behind this change is to prevent users from using or 
allocating their resources in their account when consuming the environment 
through the user interface. There is currently no blockage of allocation when 
the API is used. 



-- 
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]

Reply via email to