1
0

wizardDetectorGroupsForGroups.js 746 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 groups tab
  10. *
  11. * @constructor
  12. */
  13. var WizardDetectorGroupsForGroups = OCA.LDAP.Wizard.WizardDetectorFeatureAbstract.subClass({
  14. /** @inheritdoc */
  15. init: function() {
  16. // given, it is not a configuration key
  17. this.setTargetKey('ldap_groupfilter_groups');
  18. this.wizardMethod = 'determineGroupsForGroups';
  19. this.featureName = 'GroupsForGroups';
  20. this.runsOnRequest = true;
  21. }
  22. });
  23. OCA.LDAP.Wizard.WizardDetectorGroupsForGroups = WizardDetectorGroupsForGroups;
  24. })();