<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear all,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am using midpoint 3.9. I have a issue</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li>A user with a role assignment</li><li>Disable the role assignment (set the administrative status as disabled of the role assignment)</li><li>The role assignemnt cannot be remove thru XML REST but midpoint report OK status e.g, the xml below:</li></ol>
<div>
<table>
<tbody>
<tr>
<td><<span>objectModification</span></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>xmlns=<span><span>'</span>http://midpoint.evolveum.com/xml/ns/public/common/api-types-3<span>'</span></span></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>xmlns:c=<span><span>'</span>http://midpoint.evolveum.com/xml/ns/public/common/common-3<span>'</span></span></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>xmlns:t=<span><span>"</span>http://prism.evolveum.com/xml/ns/public/types-3<span>"</span></span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><<span>itemDelta</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><<span>t</span><span>:</span><span>modificationType</span>>delete</<span>t</span><span>:</span><span>modificationType</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><<span>t</span><span>:</span><span>path</span>>c:assignment</<span>t</span><span>:</span><span>path</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><<span>t</span><span>:</span><span>value</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><<span>c</span><span>:</span><span>targetRef</span> <span>oid</span>=<span><span>"</span>role0000-0000-0000-0000-000000000015<span>"</span></span>
<span>type</span>=<span><span>"</span>c:RoleType<span>"</span></span> /></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td></<span>t</span><span>:</span><span>value</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td></<span>itemDelta</span>></td>
</tr>
<tr>
</tr>
</tbody>
</table>
</<span>objectModification</span>></div>
<div> 4. However, the assignment can be removed thru the admin GUI</div>
<div><br>
</div>
<div><br>
</div>
<div>Actually, I found that if there are any value defined in the administrative status of the assignment, then the role cannot be unassign (delete) thru the XML API. Am I missing something?<br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Chris<br>
</div>
</body>
</html>