[midPoint] Role assignment from db table

Justin Stanczak rizenine at gmail.com
Tue Apr 9 17:34:22 CEST 2019


Maybe I'm just making it more complicated than it is. I'm simply fetching a
table that has a username and role name in it. Then I add that role to that
user or vice versa.

I do have a user template that assigns a default role in the system
configuration global, but that's not related to this.

On Tue, Apr 9, 2019 at 11:13 AM Justin Stanczak <rizenine at gmail.com> wrote:

> In this test version, I'm trying to assign the same role just for testing.
> I wanted to see if I could just get a user assigned to this static role.
>
>
>              *   <inbound id="372">*
> *                    <authoritative>false</authoritative>*
> *                    <exclusive>false</exclusive>*
> *                    <strength>strong</strength>*
> *                    <expression>*
> *                        <value>*
> *                            <targetRef
> oid="c50396ff-14a7-423e-a513-ff28c8bc91ee" type="c:RoleType"/>*
> *                        </value>*
> *                    </expression>*
> *                    <target>*
> *                        <c:path>assignment</c:path>*
> *                    </target>*
> *                </inbound>*
>
>
>
>
> On Tue, Apr 9, 2019 at 11:06 AM Jason Everling <jeverling at bshp.edu> wrote:
>
>> what is this? are you trying to just assign the same role to everyone?
>> You can assign a role to everyone using your user template like the end
>> user role
>>
>>                     <expression>
>>                         <value>
>>                             <targetRef
>> oid="c50396ff-14a7-423e-a513-ff28c8bc91ee" type="c:RoleType"/>
>>                         </value>
>>                     </expression>
>>
>>
>> JASON
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190409/3f27be75/attachment.htm>


More information about the midPoint mailing list