Project

General

Profile

Feature #2398

When copying default virtual system, multivalued attribute 'rights' is not created as multivalued in its form definition

Added by Tomáš Doischer 8 months ago. Updated 5 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Virtual systems
Target version:
Start date:
07/22/2020
Due date:
% Done:

0%

Estimated time:
Milestones:

Description

When you create a default virtual system, one multivalued attribute 'rights' is created. When you then make a copy of the system, the attribute is created as multivalued in the system scheme but it is not created in the system form definition at all (single valued attributes are created, though). If you then go and change the system (maybe name, maybe state) and save it, the attribute is created but not as multivalued.

This can potentially lead to an error when this attribute is used. If you have two roles, each connects to this copy of the virtual system and each fills different values into it, you will get a server error when you try to accept the request.


Related issues

Related to CzechIdM - Feature #2550: Export+import of a virtual system - empty additional attributes in virtual requests, error when using the "rights" attributeNew11/02/2020

History

#1 Updated by Tomáš Doischer 8 months ago

This was tested in 9.7.16 and 10.4.2, it happens in both.

#2 Updated by Vít Švanda 8 months ago

  • Target version set to 10.6.0

The system duplication operation provides a copy of all configurations from the system in the ACC module only.

The problem is that the "rights" attribute is attached to the VsAccount object and is part of the VS module. This is why this attribute is not duplicated.

The solution is to implement system duplication through multiple modules (ACC and VS).

This is a new feature for 2MD.

#3 Updated by Vít Švanda 5 months ago

  • Tracker changed from Defect to Feature
  • Assignee changed from Vít Švanda to Ondrej Husník
  • Target version changed from 10.6.0 to 10.7.0

#4 Updated by Radek Tomiška 4 months ago

  • Has duplicate Feature #2550: Export+import of a virtual system - empty additional attributes in virtual requests, error when using the "rights" attribute added

#5 Updated by Radek Tomiška 4 months ago

  • Has duplicate deleted (Feature #2550: Export+import of a virtual system - empty additional attributes in virtual requests, error when using the "rights" attribute)

#6 Updated by Radek Tomiška 4 months ago

  • Related to Feature #2550: Export+import of a virtual system - empty additional attributes in virtual requests, error when using the "rights" attribute added

#7 Updated by Vít Švanda 3 months ago

  • Target version changed from 10.7.0 to 10.8.0

#8 Updated by Tomáš Doischer 3 months ago

This is also true for system export and import. If you have a virtual system with a multivalued attribute and try to export it, after importing it again the form definition does not have this attribute set to multivalued (it is still multivalued in the scheme).

#9 Updated by Vít Švanda 19 days ago

  • Target version changed from 10.8.0 to 11.0.0

#10 Updated by Vít Švanda 5 days ago

  • Assignee changed from Ondrej Husník to Vít Švanda

Also available in: Atom PDF

Go to top