If no appstore account is setup restrict features to free plan
This commit is contained in:
+6
-8
@@ -52,14 +52,12 @@ const NOOP_CALLBACK = function (error) { if (error) debug(error); };
|
||||
// These are the default options and will be adjusted once a subscription state is obtained
|
||||
// Keep in sync with appstore/routes/cloudrons.js
|
||||
let gFeatures = {
|
||||
userMaxCount: null,
|
||||
externalLdap: true,
|
||||
eventLog: true,
|
||||
privateDockerRegistry: true,
|
||||
branding: true,
|
||||
userManager: true,
|
||||
multiAdmin: true,
|
||||
support: true
|
||||
userMaxCount: 5,
|
||||
domainMaxCount: 1,
|
||||
externalLdap: false,
|
||||
privateDockerRegistry: false,
|
||||
branding: false,
|
||||
support: false
|
||||
};
|
||||
|
||||
// attempt to load feature cache in case appstore would be down
|
||||
|
||||
Reference in New Issue
Block a user