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

unshared items are not actually unshared #2148

Closed
kiranparajuli589 opened this issue Jun 9, 2021 · 0 comments · Fixed by cs3org/reva#1891
Closed

unshared items are not actually unshared #2148

kiranparajuli589 opened this issue Jun 9, 2021 · 0 comments · Fixed by cs3org/reva#1891
Labels

Comments

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Jun 9, 2021

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce

Steps to reproduce the behavior:

  1. create two users uu1 & uu2
  2. share a file lorem.txt with user uu2 using user uu1
  3. accept the incoming share using user uu2
  4. unshare the last share
    curl -k -u uu2:uu2 -XDELETE https://localhost:9200/remote.php/webdav/Shares/lorem.txt
    
  5. check if lorem.txt exists inside /Shares folder

Expected behavior

  • should not exists inside shares folder

Actual behavior

  • exists
  • share can be deleted/unshared again and again

Setup

export OCIS_URL=https://localhost:9200                         16:59:13
export STORAGE_HOME_DRIVER=ocis                         
export STORAGE_USERS_DRIVER=ocis
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/config.json
export IDP_IDENTIFIER_REGISTRATION_CONF=$HOME/www/ocConfigs/idp.yml
export OCIS_LOG_LEVEL=error
export SETTINGS_DATA_PATH=/tmp/ocis/settings

{
  "installed": true,
  "maintenance": false,
  "needsDbUpgrade": false,
  "version": "10.0.9.5",
  "versionstring": "10.0.9",
  "edition": "community",
  "productname": "ownCloud"
}

Additional context

Add any other context about the problem here.

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.

1 participant