mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2717: listCapabilities API to return
allow.public.user.templates configuration parameter value defined at account level. Signed by - Nitin Mehta<nitin.mehta@citrix.com>
This commit is contained in:
parent
c7a1dbb176
commit
3d9fc3dbc0
@ -3221,7 +3221,7 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
|
||||
|
||||
long diskOffMaxSize = Long.valueOf(_configDao.getValue(Config.CustomDiskOfferingMaxSize.key()));
|
||||
|
||||
String userPublicTemplateEnabled = _configs.get(Config.AllowPublicUserTemplates.key());
|
||||
String userPublicTemplateEnabled = _configServer.getConfigValue(Config.AllowPublicUserTemplates.key(), Config.ConfigurationParameterScope.account.toString(), caller.getId());
|
||||
|
||||
// add some parameters UI needs to handle API throttling
|
||||
boolean apiLimitEnabled = Boolean.parseBoolean(_configDao.getValue(Config.ApiLimitEnabled.key()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user