core icon indicating copy to clipboard operation
core copied to clipboard

LDAP Users not shown in sharing dropdown if sharing restriction to own group applies

Open tigre-bleu opened this issue 12 years ago • 5 comments

This bug was first posted to the mailing list: [Owncloud] LDAP users, local groups and allow sharing to own group only

I am using LDAP backend to authenticate my users and everything is fine. LDAP group mapping is not configured.

I have 3 local groups:

  • admin
  • Group A
  • Group B

LDAP users are splitted between Group A and Group B.

  • Group A
    • User 1
    • User 2
    • User 4
  • Group B
    • User 1
    • User 3

When the sharing configuration is defined as "Allow users to share with everybody" and I am logged in as User 2, I have the options to share to:

  • User 1
  • User 2
  • User 3
  • User 4
  • Group A
  • Group B

This is fine.

However, when the sharing configuration is defined as "Allow users to only share with users from their own groups", and I am logged as User 2, I only have the following options to share to:

  • Group A

I do not see Group B which is fine because the user is not a member of this group but I shall see also User 1 and User 4.

As far as I can see in oc_group_user, everything is fine and LDAP users are part of the local groups.

Note: I tried this with ownCloud 6.0.1

tigre-bleu avatar Jan 25 '14 12:01 tigre-bleu

@blizzz @schiesbn

PVince81 avatar Jan 29 '14 08:01 PVince81

I can confirm it with local groups, not with LDAP groups. Seems to be a drawback of new user management in oc6. cc @icewind1991

blizzz avatar Feb 04 '14 16:02 blizzz

Hi, I can confirm that we have the same issue.

russlevy avatar Mar 06 '14 19:03 russlevy

fixed with https://github.com/owncloud/core/pull/7745

blizzz avatar Apr 23 '14 14:04 blizzz

Confirmed fixed in 6.0.3

Good job

tigre-bleu avatar May 01 '14 18:05 tigre-bleu