wizardDetectorUserObjectClasses.js 684 B

123456789101112131415161718192021222324252627
  1. /**
  2. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. OCA = OCA || {};
  6. (function() {
  7. /**
  8. * @classdesc discovers object classes for the users tab
  9. *
  10. * @constructor
  11. */
  12. var WizardDetectorUserObjectClasses = OCA.LDAP.Wizard.WizardDetectorFeatureAbstract.subClass({
  13. /** @inheritdoc */
  14. init: function() {
  15. // given, it is not a configuration key
  16. this.setTargetKey('ldap_userfilter_objectclass');
  17. this.wizardMethod = 'determineUserObjectClasses';
  18. this.featureName = 'UserObjectClasses';
  19. this.runsOnRequest = true;
  20. }
  21. });
  22. OCA.LDAP.Wizard.WizardDetectorUserObjectClasses = WizardDetectorUserObjectClasses;
  23. })();