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

do not show hidden shares #77

Merged
merged 2 commits into from
Jan 19, 2024
Merged

do not show hidden shares #77

merged 2 commits into from
Jan 19, 2024

Conversation

individual-it
Copy link
Member

Shares that are set to hidden in the ocis webUI, should not be listed in moodle ether
fixes #73

The information about if a share is hidden or not is provided by the sharedWithMe endpoint of ocis.
Using the id of the resource we can associate the share from sharedWithMe with the resource from WebDAV, if that share is set to be hidden, we simply skip it.

While testing this:

composer.json Outdated Show resolved Hide resolved
Copy link
Contributor

@amrita-shrestha amrita-shrestha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@individual-it individual-it merged commit df72333 into main Jan 19, 2024
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the doNotShowHiddenShares branch January 19, 2024 03:50
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

Successfully merging this pull request may close these issues.

hide shares that are set to "hide" in the ocis web ui
2 participants