core icon indicating copy to clipboard operation
core copied to clipboard

Sharing Only Sees First 15 Users In Group

Open razyr opened this issue 12 years ago • 5 comments

Environment: Ubuntu 12.04.4 LTS vhost OwnCloud Version: 7.0 Database: Mysql 5.5 PHP Version: 5.3.10

Additional relevant config information:

The following Sharing options are checked in the Admin panel

  • Allow apps to use the Share API
  • Allow users to share via link
  • Set Default Exp date
  • Restrict user to only share with users in their groups
  • Allow users to send mail notification for shared files.

OpenLDAP version 2.4.23 on remote Centos 6.5 server We have approximately 250 LDAP users with 40 users assigned to a specific ownCloud group. I do not know if the problem is LDAP specific or not. All 250 users are in in the oc_ldap_user_mapping table in our database. All 40 users have consistent entries in the oc_group_user table.

Problem: When logged in as a group member, attempting to share a file or calendar only works for the first 15 members of the group. Any user beyond the 15th group member listed in the admin panel is not searchable when creating a share. In this case you can share with users whose username starts from A-E. Users from F-Z seem not to exist in the group. All 40 users are clearly visible in the Admin/Users panel and in the local database.

razyr avatar Jul 30 '14 17:07 razyr

@schiesbn any idea?

karlitschek avatar Jul 30 '14 19:07 karlitschek

Created a new group with a different set of users. Same behavior but one small bit of information to add. Let's say that you create a group for 50 employees of mycompany.com. You name the group "mycompany". If you initially search for "mycompany.com" it will return the first 15 users. If you search for "mycompany", it will return the group name plus 14 users. It refuses to search for the 15th user and beyond even on a fresh new search which would uniquely match one of the users further down the list.

razyr avatar Jul 30 '14 19:07 razyr

A bit more information. Tested this against 7.0.1 with the user a member of two different groups. It returns the first 15 from each group for a total of 30 hits, even though there are 40+ users in each group. This is a show stopper for us.

razyr avatar Aug 06 '14 17:08 razyr

@blizzz

PVince81 avatar Aug 14 '14 10:08 PVince81

duplicate of https://github.com/owncloud/core/issues/8528

blizzz avatar Aug 14 '14 10:08 blizzz