LDAP Users not shown in sharing dropdown if sharing restriction to own group applies
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
@blizzz @schiesbn
I can confirm it with local groups, not with LDAP groups. Seems to be a drawback of new user management in oc6. cc @icewind1991
Hi, I can confirm that we have the same issue.
fixed with https://github.com/owncloud/core/pull/7745
Confirmed fixed in 6.0.3
Good job