|
@@ -64,6 +64,7 @@ module.exports = function(crowi) {
|
|
|
|
|
|
|
|
'security:list-policy:hideRestrictedByOwner' : false,
|
|
'security:list-policy:hideRestrictedByOwner' : false,
|
|
|
'security:list-policy:hideRestrictedByGroup' : false,
|
|
'security:list-policy:hideRestrictedByGroup' : false,
|
|
|
|
|
+ 'security:isEnabledDeleteCompletely' : false,
|
|
|
|
|
|
|
|
'security:isEnabledPassport' : false,
|
|
'security:isEnabledPassport' : false,
|
|
|
'security:passport-ldap:isEnabled' : false,
|
|
'security:passport-ldap:isEnabled' : false,
|
|
@@ -380,6 +381,11 @@ module.exports = function(crowi) {
|
|
|
return getValueForCrowiNS(config, key);
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+ configSchema.statics.isEnabledDeleteCompletely = function(config) {
|
|
|
|
|
+ const key = 'security:isEnabledDeleteCompletely';
|
|
|
|
|
+ return getValueForCrowiNS(config, key);
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
configSchema.statics.isEnabledPlugins = function(config) {
|
|
configSchema.statics.isEnabledPlugins = function(config) {
|
|
|
const key = 'plugin:isEnabledPlugins';
|
|
const key = 'plugin:isEnabledPlugins';
|
|
|
return getValueForCrowiNS(config, key);
|
|
return getValueForCrowiNS(config, key);
|