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

[QA] oc10 public link with password fails #4531

Closed
jnweiger opened this issue Dec 17, 2020 · 8 comments
Closed

[QA] oc10 public link with password fails #4531

jnweiger opened this issue Dec 17, 2020 · 8 comments
Assignees

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Dec 17, 2020

Deployed web-1.0.0 into docker run -ti --rm -v $HOME/oc10-mnt-data:/mnt/data -p 8080:8080 owncloud/server:10.6.0
using https://owncloud.github.io/clients/web/deployments/oc10-app/

  • login as admin
  • create a public link on folder Documents, set password 1113
  • paste the link into another window of the same browser session
  • An error occurs: Error: User did not have the required privileges. BAD

image

This problem only occurs in the same browser session.
In a different browser session we get

image

A requester that asks for username and password -> owncloud/ocis#829

@davitol
Copy link
Contributor

davitol commented Dec 17, 2020

Just tested and it looks it works like a charm for me. It can be tested in https://demo.owncloud.com and cannot reproduce it

@micbar
Copy link
Contributor

micbar commented Dec 17, 2020

public links are redirected by the oc10 backend.

Config option: web.baseUrl

@jnweiger
Copy link
Contributor Author

jnweiger commented Dec 17, 2020

@micbar the documentation disagrees with that: "To display ownCloud Web in the app switcher and to redirect all private and public links to the new WebUI, add the following config into config/config.php:

'web.baseUrl' => 'https://<your-owncloud-server>/apps-external/web',
"

That is what I did, and thus I end up in the New Design.
If we want public links to appear in the Classic UI, then we need to change the docs.

@jnweiger jnweiger changed the title [QA] oc10 public link fails [QA] oc10 public link with password fails Dec 17, 2020
@micbar
Copy link
Contributor

micbar commented Dec 17, 2020

Public / private links are always redirected to web

@micbar
Copy link
Contributor

micbar commented Dec 17, 2020

@jnweiger Maybe semantic misunderstanding

public links are redirected by the oc10 backend.

I meant the oc10 backend does the redirects. It redirects to the new WebUI.

@jnweiger jnweiger mentioned this issue Jan 20, 2021
16 tasks
@jnweiger
Copy link
Contributor Author

Reproduced unchanged in 1.0.2
Not sure what the misunderstanding is. Feel free to close if irrelevant.

@jnweiger jnweiger mentioned this issue Jan 21, 2021
31 tasks
@pascalwengerter
Copy link
Contributor

@kulmann could you take a look eventually?

@kulmann
Copy link
Contributor

kulmann commented Jun 10, 2021

Cannot reproduce with web v3.2.0 as oc10 app.

@kulmann kulmann closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants