Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Aug 13, 2019
2 parents ca4b94f + e07633c commit f9671d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -204,7 +204,6 @@ public static AssignmentEditorDto createDtoFromObject(ObjectType object, UserDto

AssignmentType assignment = new AssignmentType();
assignment.setTargetRef(targetRef);
assignment.setTarget(object);

return new AssignmentEditorDto(status, assignment, pageBase);
}
Expand Down Expand Up @@ -552,6 +551,10 @@ public PrismContainerValue<AssignmentType> getNewValue(PrismContext prismContext
if (activation == null || activation.asPrismContainerValue().isEmpty()) {
newAssignment.setActivation(null);
}
//hack for delegation panel. this code should be rewritten
if (newAssignment.getMetadata() != null && newAssignment.getMetadata().asPrismContainerValue().isEmpty()){
newAssignment.setMetadata(null);
}

if (tenantRef != null && AssignmentEditorDtoType.ROLE.equals(this.type)) {
if (tenantRef.getOid() == null) {
Expand Down
Expand Up @@ -14007,6 +14007,9 @@
(Target OID, type and relation is matched.)
Note: Filter in the reference is not yet supported.
</xsd:documentation>
<xsd:appinfo>
<a:objectReferenceTargetType>tns:FocusType</a:objectReferenceTargetType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="allowTransitive" type="xsd:boolean" minOccurs="0" default="false">
Expand Down

0 comments on commit f9671d0

Please sign in to comment.