nextcloud / nextcloud/server

Expand "User Profile Attributes" configuration options

Open
#49,106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: carddav feature: contacts feature: ldap
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Currently and according to the manual, in the latest version, the User Profile Attributes configuration in ldap allows you to associate ldap fields that are then displayed in the contacts application.

This is very useful for GNOME users who, with online accounts, allow the integration of both applications.

However, the "User Profile Attributes" configuration options are minimal and in GNOME the contact data is in fields that have nothing to do with their name.

For example, it is normal to have at least several phones and "User Profile Attributes" only allows one, so you have to put the rest in other fields with names that are not representative such as status or role.

It would be very interesting to be able to add, even through occ, association fields that are then displayed in contacts with vcard4 format, such as for example

--mapping=TEL:telephoneNumber \
--mapping=TEL;TYPE=FAX:facsimileTelephoneNumber
--mapping=TEL;TYPE=CELL:internationaliSDNNumber
--mapping=TEL;TYPE=VOICE:pager

Image
Image
Image
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the existing LDAP “User Profile Attributes” configuration and the contacts vCard4 generation path; done means supporting multiple configurable LDAP-to-vCard mappings, including the requested phone types, with an available occ configuration path.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.