Univention Bugzilla – Bug 32046
offer "easy" way to link between UDM-Objects in extended attributes
Last modified: 2019-02-06 11:41:43 CET
In UCS 2.x it was possible to show a "Link" to an other object using custom or extended attributes. There should be a way to do this in UCS 3.x, too. The result should be like the "Referencing objects" of policies.
see 2012032821001228 for an example request
*** Bug 31782 has been marked as a duplicate of this bug. ***
Wasn't it the syntax LinkList that was used for that purpose?
(In reply to Alexander Kläser from comment #3) > Wasn't it the syntax LinkList that was used for that purpose? Yes, in UCS-2.4 LinkList was (mis-)used for that, but with UCS-3.x this no longer works. For details see Bug #31782, which you marked as a duplicate of this.
Again asked for by a partner doing a virtual desktop project, which needs a way to link the computer object of the virtual machine to the computer object of the thin-client and vis-versa. Basically we already need a similar functionality for UCS-UVMM to allow linking VMs to their computer account. It would also be good to like the DNS and DHCP entries back to the computer "owning" them.
please. Will this be considered for a future release or update? It's not clear whether this is ever gonna be implemented or not.
Implementing it via a custom UMC widget with custom syntax ←→ widget mapping (cf. Bug 38743, Bug 39041) should be possible.
We could add a method get_referencing_objects() to the UDM class "object"/simpleLDAP. The return value of that function should be defined with caution. Maybe we can add relation-types for each referenced object so that some can e.g. be automatically removed on .remove(remove_referencing=True). Then all individual solutions in the handlers could be replaced by one generic way. The change in Bug #33344 improved this a little bit which would also benefit from this change. Pseudocode for the idea: class reference(object): udm_object = (module, dn, object), relation_types = [ 'remove_when_object_gets_deleted', 'show_in_layout', 'is_policy', … # what else could one image ? ... ]
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.