[midPoint] Role assignment from db table
Jason Everling
jeverling at bshp.edu
Wed Apr 10 16:51:22 CEST 2019
If you dont have the proper condition set I believe it will replace all
assignments with just that one, so, that role your trying to assign, go and
edit the role, did you put in a a role type , it will either say roleType
or subType depending on your mp version,
I have ours just renamed to Type so disregard that but it is in this
section,
[image: image.png]
On Wed, Apr 10, 2019 at 9:37 AM Jason Everling <jeverling at bshp.edu> wrote:
> You do not have any <tolerant>false</tolerant> anywhere right? Do you have
> the condition set? if so, with what?
>
>
>
>
> On Wed, Apr 10, 2019 at 9:24 AM Justin Stanczak <rizenine at gmail.com>
> wrote:
>
>> Maybe an example not of my own making would help.
>>
>> *https://raw.githubusercontent.com/Evolveum/midpoint/1c1975fa450bbee741314c2822c5715ebf68f6b2/samples/hogwarts/objects/resources/resource-csv.xml
>> <https://raw.githubusercontent.com/Evolveum/midpoint/1c1975fa450bbee741314c2822c5715ebf68f6b2/samples/hogwarts/objects/resources/resource-csv.xml>*
>>
>> *<inbound>*
>> * <expression>*
>> * <assignmentTargetSearch>*
>> *<targetType>c:RoleType</targetType>*
>> *<oid>e2c88fea-db21-11e5-80ba-d7b2f1155264</oid>*
>> *</assignmentTargetSearch> *
>> * </expression>*
>> * <target>*
>> * <path>assignment</path>*
>> * <set>....</set>*
>> * </target>*
>> *</inbound>*
>>
>> If you scroll to the above section you'll find the inbound role
>> assignment. This is basically what I'm trying to do but my resource is a
>> database table. However, using this example just replaces all other
>> assignments for that account and sets this one. That can't be how this
>> example was intended to work? Where am I going wrong?
>>
>> Thanks.
>> Justin Stanczak
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190410/1ac8da9a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 19693 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190410/1ac8da9a/attachment.png>
More information about the midPoint
mailing list