-
Notifications
You must be signed in to change notification settings - Fork 159
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
Make home path configurable #4248
Comments
We need a configuration option in Phoenix to map a click on "All files" to arbitrary paths. The map should allow for dynamic configuration of the user, for example:
Maybe a option in the config.json on runtime? |
In config.json we have option However, this was originally implemented as a workaround and we wanted to let the server handle which folder should be displayed as a root folder in the webUI. @butonic What do you think about that approach? Is this something that would be too complex/too much effort? We can still stick with this workaround in the config but there might be some loose ends - at some point we stopped using that value and just default back to |
Hi @LukasHirt , the solution you proposed is almost we are looking for, is only missing the breadcrumbs. Server side we can expose root (/) but then that will not match the user expectations when clicking on "All my files" as this points to a place that doesn't belong to any particular user. Can you add the breadcrumb functionality? This is only a UI functionality, underlying functions like upload should work the same depending where the user is. |
Ok, then we'd need to switch the approach of the feature. Basically select a default folder instead of "replacing" it. The functionality needed to be adjusted because of the folder being treated as the root and not as the subfolder. We needed then to always specify it in that logic that e.g. file should be uploaded in that folder and not in |
Is the expectation here, to just make the path visible in the breadcrumbs and still jail the user in their home? Or is a user allowed to access |
Users are allowed to access other paths, eg. @diocas This will however only work properly with cs3org/reva#1346 (which is already merged). You will need to set a prefix for the share with me listing. @labkode why does it have to be a templateable path? The share with me links need tho home folder anyway. Shouldn't |
The idea is that we no longer use |
but users can only acces shares using the This affects all clients, because the paths in shared with me results are supposed to be relative to the unsers home ... historically grown. Cannot be changed at will because it will break clients and have weird sideeffects like the ios app running a discovery on these paths ... |
this is a list shares with me example:
The
The Being able to prefix the Or are iOS and android supposed to work differently? |
@labkode @diocas you can find documentation for the configuration of the homeFolder here: https://owncloud.github.io/clients/web/getting-started/#configuration |
On a vanilla Phoenix deployment (phoenix.owncloud.com) when you click on "All files" the URL path is relative to the logged in user:
We need to make the path shown when clicking on "'All files" configurable to expose a global view of all storages:
In this example, when clicking on "All files" the URL points to the home folder of the user, but the user can navigate the ancestors of the tree and have the same behaviour and experience when accessing the filesystem directly.
Moreover, this mapping allows to copy/paste the URL and give it to someone to share, no need to have a private link generated, our users did that many times in the past and with this behaviour we increase the accessibility of the service.
The text was updated successfully, but these errors were encountered: