Web: Always redirect requests from the UI to homeFolder

Created on 17 Mar 2021  路  8Comments  路  Source: owncloud/web

With the homeFolder option, the user homes can be configured to arbitrary paths instead of the default root. But the change is not applicable across the UI.

  • Clicking on the home icon in the 'All files' tab should redirect to homeFolder instead of root.
  • Endpoints for the files from the 'Shared with me' and ''Shared with others' should also have the homeFolder prefix.
CERN p3-medium

Most helpful comment

Pinging @LukasHirt @pascalwengerter @fschade here so that they get updated with more information as well.

All 8 comments

The home icon in the breadcrumbs is misleading. In fact it represents the root, not the home. Otherwise there would be no other way to navigate up to the root. If there is no homeFolder configured, home is basically the same as root (home = root for the authenticated user). We'll need a better icon anyway when we implement spaces/project folders in the web ui and probably continue to use the breadcrumbs. What do you think?

As for your second point, that's of course correct and needs to be fixed. Do you want to try a PR? :-)

@kulmann it makes sense for the breadcrumbs part, I think we can just let it be for now. For the second one, I'll ask people getting started with the project to take a look.

@kulmann please take this up when you have the chance. We have quite a few things going on so it'll be difficult to spare time to look into this

alright 馃憤

@ishank011 could you confirm that this is what you need? https://github.com/owncloud/web/pull/4926

To be honest I don't get how in your setup the user has access to the storage root but shares still live in the users homeFolder path. Struggling to write meaningful tests for it. A bit more context about the setup would be helpful.

Pinging @LukasHirt @pascalwengerter @fschade here so that they get updated with more information as well.

@ishank011 could you update us on whether this has been resolved by https://github.com/cs3org/reva/pull/1605?

We can close this since it's being tracked in reva itself

Was this page helpful?
0 / 5 - 0 ratings

Related issues

individual-it picture individual-it  路  5Comments

LukasHirt picture LukasHirt  路  4Comments

individual-it picture individual-it  路  5Comments

kulmann picture kulmann  路  4Comments

LukasHirt picture LukasHirt  路  4Comments