-
Notifications
You must be signed in to change notification settings - Fork 168
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
feat: full share owner paths #9721
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
packages/web-app-files/tests/unit/components/FilesList/ResourceTable.spec.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/tests/unit/components/AppBar/CreateAndUpload.spec.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/FilesList/ResourceTable.vue
Outdated
Show resolved
Hide resolved
59863ee
to
9917008
Compare
SonarCloud Quality Gate failed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm obviously biased cause I worked on this, but I'm happy to merge this now
* Add routing options to ocis.web.config.json * wip: implement full share owner paths * wip: fix breadcrumb and ancestor loading * fixup! wip: fix breadcrumb and ancestor loading * fixup! fixup! wip: fix breadcrumb and ancestor loading * wip: fix external app handling * Make unit tests work for now * Remove console.log * fix project space access detection * style: run linter * add isOwner method for spaces * introduce useBreadcrumbsFromPath composable * adjust share root item name * wip: fix active route item * Fix logic to determine active sidebar nav items * fix active share nav item * prevent mountpoint loading in personal space * Fix unit tests * Fix unit tests * Fix unit tests * pass spaces to triggerShareAction helper * move comopsable usage out of method * undo temp config * fix space matching when idBased is disabled * fix trashbin overview * fix trashbin overview tests --------- Co-authored-by: Dominik Schmidt <[email protected]>
Description
Successor of #9221
Introduces a new config option
routing.fullShareOwnerPaths
. When enabling this flag, incoming shares will be accessed via the share owner's space instead of a virtual share space. This also reveals full resource paths to share recipients, even if they don't have access to all parent resources.Note: There has not been a decision whether this feature should be productized or not, hence the PR is missing a changelog item, proper documentation and tests (for now).
Related Issue
Types of changes
To-Do
isAccessibleResource
thereisOwner
method to spacesFollow-ups
fullShareOwnerPaths
option? Docs? Config in ocis? @tbsbdrfullShareOwnerPaths
is disabled