[midPoint] Role assignment from db table
Jason Everling
jeverling at bshp.edu
Tue Apr 9 18:34:23 CEST 2019
So will users only ever have 1 role on this resource? can they get multiple
roles?
On Tue, Apr 9, 2019 at 10:34 AM Justin Stanczak <rizenine at gmail.com> wrote:
> 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
>>>
>>> _______________________________________________
> 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/20190409/4f8f4d5a/attachment.htm>
More information about the midPoint
mailing list