Server: Open the file or folder shared by the link in user's nextcloud if the user already has access

Created on 12 Sep 2017  路  7Comments  路  Source: nextcloud/server

Open the file or folder shared by the link in user's nextcloud if the user already has access (read or write).

Steps to reproduce

  1. Share file or folder to the user (read or write access).
  2. Share file or folder or any child item by link http://example.com/index.php/s/jlkiRcc1XLphKuz
  3. Open the link under user account.

Expected behaviour

The file or folder is oppened in user account.

Actual behaviour

The file or folder is opened in some kind of incognito.

Server configuration

Operating system: Ubuntu (Docker image nextcloud:12.0.2)

Web server: Apache

Database: mariadb

PHP version: php:7.1-apache

Nextcloud version: 12.0.2

Updated from an older Nextcloud/ownCloud or fresh install: fresh

Where did you install Nextcloud from: Docker hub

Client configuration

Browser: Chrome and Firefox

Operating system: Ubuntu 16.04

1. to develop enhancement sharing papercut

All 7 comments

  1. Open the link under user account.

that means: using the link when you are logged in?

I would not necessarily expect to open it within my account automatically. I would expect and prefer to see the normal "public" view like it is now. But I agree that there should be a button/link to change the view to the nextcloud account.

I would disagree to automatically change to account view.

that means: using the link when you are logged in?

Yep, the same or different user.

I've faced with the following:

  1. User opened sharing link multiple times and multiple times clicked to Add to my Nexcloud button.
  2. So user has multiple copies of folder in additions to copy of folder shared by regular username. 馃槥 馃槬

If nexcloud have view to the nextcloud account feature it will solve this issue.

we could replace the Add to my Nextcloud button by a view in my Nextcloud Account button in case the user is logged in because it makes more sense this way.
That would only be bad for users who are logged in to this nextcloud instance and want to add the public link to another nextcloud server.

Add to my Nextcloud - adds copy of public folder even user already has access to it (or added it before).

Thats why this button doesn't make sense in my opinion when the user is logged in and has access to the file.

Another solution to button view in my Nextcloud Account is to show to the user full path to the files/folder in their nexcloud without any redirects.

So the "public" view will show:

  • Just / Folder if user does not have access.
  • / Path / To / Folder if user have access.

Any news?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jancborchardt picture jancborchardt  路  3Comments

georgehrke picture georgehrke  路  3Comments

Django-BOfH picture Django-BOfH  路  3Comments

blackcrack picture blackcrack  路  3Comments

mama21mama picture mama21mama  路  3Comments