1
0

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