1
0

wizardDetectorGroupsForUsers.js 654 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 detects groups for the users tab
  9. *
  10. * @constructor
  11. */
  12. var WizardDetectorGroupsForUsers = OCA.LDAP.Wizard.WizardDetectorFeatureAbstract.subClass({
  13. /** @inheritdoc */
  14. init: function() {
  15. // given, it is not a configuration key
  16. this.setTargetKey('ldap_userfilter_groups');
  17. this.wizardMethod = 'determineGroupsForUsers';
  18. this.featureName = 'GroupsForUsers';
  19. this.runsOnRequest = true;
  20. }
  21. });
  22. OCA.LDAP.Wizard.WizardDetectorGroupsForUsers = WizardDetectorGroupsForUsers;
  23. })();