Bug 32046 - offer "easy" way to link between UDM-Objects in extended attributes
offer "easy" way to link between UDM-Objects in extended attributes
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UDM - Extended Attributes
UCS 4.4
Other Linux
: P5 enhancement with 2 votes (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
: 31782 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 10:32 CEST by Ingo Steuwer
Modified: 2019-02-06 11:41 CET (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2013-07-24 10:32:53 CEST
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.
Comment 1 Ingo Steuwer univentionstaff 2013-07-24 10:33:42 CEST
see 2012032821001228 for an example request
Comment 2 Alexander Kläser univentionstaff 2013-07-24 17:42:32 CEST
*** Bug 31782 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Kläser univentionstaff 2013-07-24 17:43:02 CEST
Wasn't it the syntax LinkList that was used for that purpose?
Comment 4 Philipp Hahn univentionstaff 2013-07-24 19:23:58 CEST
(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.
Comment 5 Philipp Hahn univentionstaff 2013-10-25 09:35:13 CEST
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.
Comment 6 Daniel Orrego univentionstaff 2014-12-18 16:14:26 CET
please. Will this be considered for a future release or update?
It's not clear whether this is ever gonna be implemented or not.
Comment 7 Alexander Kläser univentionstaff 2015-07-29 18:16:41 CEST
Implementing it via a custom UMC widget with custom syntax ←→ widget mapping (cf. Bug 38743, Bug 39041) should be possible.
Comment 8 Florian Best univentionstaff 2016-05-31 12:55:49 CEST
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 ? ...
   ]
Comment 9 Florian Best univentionstaff 2017-06-28 14:52:09 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 10 Stefan Gohmann univentionstaff 2019-01-03 07:17:59 CET
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.