Skip to content
Snippets Groups Projects
  1. Dec 12, 2014
  2. Dec 08, 2014
  3. Nov 05, 2014
  4. Sep 05, 2014
  5. Jul 16, 2014
    • Stephan Peijnik's avatar
      Port of #9584 · 4d74aa09
      Stephan Peijnik authored
      
      Fixes #9583
      
      lib/private/group/metadata.php: For subadmins also return an array of groups, indexed by their GIDs.
      settings/users.php: Convert array of arrays to array of GIDs before calling into OC_Group::displayNamesInGroups.
      
      Signed-off-by: default avatarStephan Peijnik <speijnik@anexia-it.com>
      
      Fix indentation.
      
      Signed-off-by: default avatarStephan Peijnik <speijnik@anexia-it.com>
      
      Renamed $grp to $group in foreach loop.
      
      Signed-off-by: default avatarStephan Peijnik <speijnik@anexia-it.com>
      
      Use is_null() instead of empty() when checking the return value of GroupManager::get().
      
      Additionally, $grp was renamed to $group inside
       \OC\Group\MetaData::fetchGroups().
      
      Signed-off-by: default avatarStephan Peijnik <speijnik@anexia-it.com>
      
      Updated code to reflect changes introduced to \OC\Group\MetaData.
      
      Now that fetchGroups() does not exist anymore and getGroups() is called
      directory, the 'groups' property does not exist anymore.
      Instead, we now generate that array on the fly and return it from getGroups.
      
      Signed-off-by: default avatarStephan Peijnik <speijnik@anexia-it.com>
      4d74aa09
  6. Jun 23, 2014
  7. Jun 02, 2014
  8. Mar 25, 2014
  9. Sep 09, 2013
  10. Aug 26, 2013
  11. Aug 25, 2013
  12. Aug 15, 2013
  13. Jul 21, 2013
  14. May 16, 2013
  15. Feb 21, 2013
  16. Feb 11, 2013
  17. Jan 29, 2013
  18. Jan 28, 2013
  19. Jan 25, 2013
  20. Jan 16, 2013
  21. Jan 15, 2013
  22. Jan 14, 2013
    • Lukas Reschke's avatar
      Check if user is admin - bool · 31b1a73e
      Lukas Reschke authored
      There was no "isAdminUser()" function which returned bool. This is
      irritiating as there were a loooooooot of places in the code which
      checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not
      use a function for this?
      (Especially if you consider that we might change the group name in the
      future, which would lead to problems then)
      
      Additionally, @Raydiation needed such a method for his AppFramework :)
      31b1a73e
Loading