Skip to content
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

reshared resource is not listed for sharee after accepting share #2214

Closed
kiranparajuli589 opened this issue Jun 24, 2021 · 1 comment · Fixed by #3842
Closed

reshared resource is not listed for sharee after accepting share #2214

kiranparajuli589 opened this issue Jun 24, 2021 · 1 comment · Fixed by #3842
Labels

Comments

@kiranparajuli589
Copy link
Contributor

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce

Steps to reproduce the behavior:

  1. create three users uu1, uu2, uu3
  2. create folder tmp and tmp/sub using user uu1
  3. share tmp with uu2 using user uu1
  4. accept incoming share using uu2
  5. reshare Shares/tmp/sub with uu3 using user uu2
  6. accept incoming share using uu3

Expected behavior

  • for user uu3, sub dir should be listed inside Shares directory

Actual behavior

  • not listed

Setup

Please describe how you started the server and provide a list of relevant environment variables.

export OCIS_URL=https://localhost:9200
export STORAGE_HOME_DRIVER=$DRIVER
export STORAGE_USERS_DRIVER=$DRIVER
export STORAGE_DRIVER_OCIS_ROOT=/tmp/ocis/storage/users
export STORAGE_DRIVER_LOCAL_ROOT=/tmp/ocis/local/root
export STORAGE_METADATA_ROOT=/tmp/ocis/metadata
export STORAGE_DRIVER_OWNCLOUD_DATADIR=/tmp/ocis/owncloud/data
export STORAGE_HOME_DATA_SERVER_URL=http://localhost:9155/data
export STORAGE_USERS_DATA_SERVER_URL=http://localhost:9158/data
export STORAGE_SHARING_USER_JSON_FILE=/tmp/ocis/shares.json
export PROXY_ENABLE_BASIC_AUTH=True
export WEB_UI_CONFIG=$HOME/www/ocConfigs/ocis-config/ocis-config.json
export IDP_IDENTIFIER_REGISTRATION_CONF=$HOME/www/ocConfigs/ocis-config/idp.yml
export OCIS_LOG_LEVEL="error"
export SETTINGS_DATA_PATH=/tmp/ocis/settings

if [ $DRIVER == "owncloud" ]
then
	export EXPECTED_FAILURES_FILE=$HOME/go/src/github.com/owncloud/ocis/tests/acceptance/expected-failures-API-on-OWNCLOUD-storage.md
	export STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR=localhost:6379
else
	export STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR=
	export EXPECTED_FAILURES_FILE=$HOME/go/src/github.com/owncloud/ocis/tests/acceptance/expected-failures-API-on-OCIS-storage.md
fi

Additional context

Add any other context about the problem here.

@pmaier1
Copy link
Contributor

pmaier1 commented Aug 11, 2021

The solution to this is part of the "Resharing" feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants