Skip to content

backport(stable35): admin exact-UID global search lookup - #220

Open
vitormattos wants to merge 1 commit into
stable35from
feat/profile-fields-directory-uid-search-stable35-20261114
Open

vitormattos wants to merge 1 commit into
stable35from
feat/profile-fields-directory-uid-search-stable35-20261114

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Purpose

Backport #219 to the production Nextcloud 35 compatibility branch.

Implementation

  • Adds an instance administrator-only uid:<nextcloud_uid> lookup through the already-registered Nextcloud global search provider profile_fields.directory.
  • Each populated field becomes a paginated hit usable by the existing Nextcloud MCP unified_search. Non-admin and group-only admin users see no results.
  • Includes unit tests, an OCS/Behat scenario and documentation.
  • Changes are identical to feat: allow exact UID lookup through Nextcloud global search #219 and cherry-picked with GPG + DCO; no external MCP Connector modifications.

Local verification

  • PHP syntax check for changed PHP files: pass.
  • Isolated PHP smoke test on the main counterpart: pass.
  • PHPUnit / Behat / deployment and import: not executed yet; wait for CI and production approval.

Do not merge or deploy merely because this PR passes CI. No import of real customer data is included.

Expose populated administrative profile fields through Nextcloud search using uid:<user>. Return paginated field results and deny private lookups to non-admins.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
(cherry picked from commit 28974e9)
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review November 14, 2026 20:32
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.

1 participant