-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Member in a group cannot see the share which has been shared with the group #1831
Comments
This might be related to #1769 |
@jasson99 is this expected? |
It is expected that the share receiver gets the shares in "shared with me". Brian is the expected share receiver in the above case. Alice has shared the file with group |
@jasson99 what happens in oC10 core? |
|
@jasson99 can you check the logs to see if the group |
#1769 is related to the fact that we need to modify the schema for our sharing db to accommodate accepting shares as well. We didn't have the concept of accepting shares previously so there are a few nuances that need to be figured out. |
maybe there is an issue in the ldap config. @ishank011 could you have a look at https://github.com/cs3org/reva/blob/master/tests/oc-integration-tests/drone/ldap-users.toml to see if you can spot an issue |
My ldapserver has the following objects:
I am running using this config file: https://github.com/cs3org/reva/blob/master/tests/oc-integration-tests/local/ldap-users.toml .
I am especially confused in this line: https://github.com/cs3org/reva/blob/master/tests/oc-integration-tests/local/ldap-users.toml#L56 as mail has been used for group filter. But group doesnot have mail property in my case. |
@jasson99 @individual-it https://github.com/cs3org/reva/blob/master/tests/oc-integration-tests/local/ldap-users.toml#L37 is what needs to be fixed. For a given user, we use this filter to retrieve the list of their groups, and we're searching for posix groups using the user's We need to use the |
@jasson99 can you try setting |
I get this error in reva logs when I adjust the line 37: https://github.com/cs3org/reva/blob/master/tests/oc-integration-tests/local/ldap-users.toml#L37 to |
My bad. The template is applied to UserId not User. |
Sure. Thankyou |
That works really well. Lots of scenarios start passing in PR #1881 where the CI settings are adjusted. |
Description:
When a sharer shares a file with a group, the user in the group cannot find the share in the list of pending shares, or the shares in any state.
Steps to reproduce:
Alice
and userBrian
Brian
to groupgrp1
Alice
, share a filetextfile0.txt
with groupgrp1
Alice
, get all the shares shared by the user as follows:Brian
, get all the shares shared with the user:The text was updated successfully, but these errors were encountered: