Bug 57526 - Support ext. attributes and custom config for settings/directory
Summary: Support ext. attributes and custom config for settings/directory
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-8-errata
Assignee: Felix Botner
QA Contact: Dirk Wiesenthal
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-19 10:23 CEST by Felix Botner
Modified: 2025-03-21 08:31 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2024-08-19 10:23:00 CEST
see Support ext. attributes for settings/directory
Comment 2 Felix Botner univentionstaff 2024-08-19 11:38:06 CEST
(In reply to Felix Botner from comment #0)
> see Support ext. attributes for settings/directory

ups, see https://git.knut.univention.de/univention/ucs/-/issues/2404
Comment 3 Felix Botner univentionstaff 2024-08-20 12:14:38 CEST
0d474884c56ac0ba8a99e0e11428a073054f3690 - feat(udm): support custom configuration for default containers

Successful build
Package: univention-directory-manager-modules
Version: 15.0.27-7
Branch: 5.0-0
Scope: errata5.0-8
Comment 4 Dirk Wiesenthal univentionstaff 2024-08-21 13:52:19 CEST
YAML: OK
Tests: OK
Code: OK
Merge: OK
Docs: settings/directory seems to be completely undocumented and needs its own bug
Comment 5 Dirk Wiesenthal univentionstaff 2024-08-21 15:35:03 CEST
<https://errata.software-univention.de/#/?erratum=5.0x1103>
Comment 6 Florian Best univentionstaff 2025-03-21 08:31:26 CET
Original issue information:

## Story

I want to be able to define default containers for my custom UDM module.

## Context/description

UDM provides a `get_default_containers` function to get the list of default containers for a given UDM module. This function is used in UMC, and as soon as there is more than 1 default container, UMC presents a dialog to choose the location for the object you want to create.

The default containers for all UDM modules are configured on the `settings/directory` object.

This works, but it is a bit hard to use for custom UDM modules. Two things to make it easier:

- support extended attrs. for the `settings/directory` in `get_default_containers` (init the module)
- make the name of the attribute that holds the containers configurable for the UDM module