Skip to content

[stable30] fix: filter system tag object IDs by user visibility - #64006

Closed
GhassenKefi wants to merge 1 commit into
stable30from
backport/63946/stable30
Closed

GhassenKefi wants to merge 1 commit into
stable30from
backport/63946/stable30

Conversation

@GhassenKefi

Copy link
Copy Markdown
Contributor

Backport of PR #63946

Signed-off-by: Ghassen kefi <ghassen.kefi.dev@gmail.com>
@github-actions github-actions Bot changed the title fix: filter system tag object IDs by user visibility [stable30] fix: filter system tag object IDs by user visibility Sep 3, 2026
@susnux susnux added bug 3. to review Waiting for reviews labels Sep 3, 2026
@susnux
susnux requested review from a team, come-nc, icewind1991, salmart-dev and sorbaugh and removed request for a team September 3, 2026 14:22
return $node->getReferenceFileId();
});

$propFind->handle(self::OBJECTIDS_PROPERTYNAME, function () use ($node): SystemTagsObjectList {
return $node->getReferenceFileId();
});

$propFind->handle(self::OBJECTIDS_PROPERTYNAME, function () use ($node): SystemTagsObjectList {
});

$propFind->handle(self::OBJECTIDS_PROPERTYNAME, function () use ($node): SystemTagsObjectList {
$objectTypes = $this->tagMapper->getAvailableObjectTypes();
$objectTypes = $this->tagMapper->getAvailableObjectTypes();
$objects = [];
foreach ($objectTypes as $type) {
$systemTagObjectType = new SystemTagObjectType($node->getSystemTag(), $type, $this->tagManager, $this->tagMapper);
$objects = [];
foreach ($objectTypes as $type) {
$systemTagObjectType = new SystemTagObjectType($node->getSystemTag(), $type, $this->tagManager, $this->tagMapper);
$objects = array_merge($objects, array_fill_keys($systemTagObjectType->getObjectsIds(), $type));
$systemTagObjectType = new SystemTagObjectType($node->getSystemTag(), $type, $this->tagManager, $this->tagMapper);
$objects = array_merge($objects, array_fill_keys($systemTagObjectType->getObjectsIds(), $type));
}
return new SystemTagsObjectList($objects);
});
}

if ($node instanceof SystemTagObjectType) {
@susnux

susnux commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This was added just with Nextcloud 31

@susnux susnux closed this Sep 3, 2026
@AndyScherzinger
AndyScherzinger deleted the backport/63946/stable30 branch September 10, 2026 07:52
@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants