wizardDetectorUserObjectClasses.js 769 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com>
  3. * This file is licensed under the Affero General Public License version 3 or later.
  4. * See the COPYING-README file.
  5. */
  6. OCA = OCA || {};
  7. (function() {
  8. /**
  9. * @classdesc discovers object classes for the users tab
  10. *
  11. * @constructor
  12. */
  13. var WizardDetectorUserObjectClasses = OCA.LDAP.Wizard.WizardDetectorFeatureAbstract.subClass({
  14. /** @inheritdoc */
  15. init: function() {
  16. // given, it is not a configuration key
  17. this.setTargetKey('ldap_userfilter_objectclass');
  18. this.wizardMethod = 'determineUserObjectClasses';
  19. this.featureName = 'UserObjectClasses';
  20. this.runsOnRequest = true;
  21. }
  22. });
  23. OCA.LDAP.Wizard.WizardDetectorUserObjectClasses = WizardDetectorUserObjectClasses;
  24. })();