users: cannot edit groups with external ldap group sync
This commit is contained in:
@@ -21,8 +21,9 @@ const apps = require('./apps.js'),
|
||||
branding = require('./branding.js'),
|
||||
constants = require('./constants.js'),
|
||||
debug = require('debug')('box:dashboard'),
|
||||
eventlog = require('./eventlog.js'),
|
||||
dns = require('./dns.js'),
|
||||
externalLdap = require('./externalldap.js'),
|
||||
eventlog = require('./eventlog.js'),
|
||||
Location = require('./location.js'),
|
||||
mailServer = require('./mailserver.js'),
|
||||
platform = require('./platform.js'),
|
||||
@@ -56,6 +57,8 @@ async function clearLocation() {
|
||||
async function getConfig() {
|
||||
const ubuntuVersion = await system.getUbuntuVersion();
|
||||
const profileConfig = await users.getProfileConfig();
|
||||
const externalLdapConfig = await externalLdap.getConfig();
|
||||
|
||||
const { fqdn:adminFqdn, domain:adminDomain } = await getLocation();
|
||||
|
||||
// be picky about what we send out here since this is sent for 'normal' users as well
|
||||
@@ -74,6 +77,7 @@ async function getConfig() {
|
||||
features: appstore.getFeatures(),
|
||||
profileLocked: profileConfig.lockUserProfiles,
|
||||
mandatory2FA: profileConfig.mandatory2FA,
|
||||
ldapGroupsSynced: externalLdapConfig.syncGroups
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user