On Tue, Aug 25, 2015 at 5:04 PM, Tim Dudgeon
<[email protected]> wrote:
> So it looks like the AppServerTrustedAuthServiceImpl class is calling
> createUser():
> https://github.com/xwiki/xwiki-platform/blob/dd5152e8ff39e6358c20becb4c9925628cf08ea4/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/AppServerTrustedAuthServiceImpl.java
>
> But that should mean that my externally authenticated user should be being
> added and should get the XWiki.XWikiAllGroup.
>
> But that doesn't seem to be happening in my case as I'm being although I'm
> authenticated I'm denied access.

It's easy to check in the administration who is part of XWikiAllGroup.

>
> Have I misunderstood the situation?
>
> Tim
>
>
>
>
> On 24/08/2015 10:15, Thomas Mortagne wrote:
>>
>> Note that an authenticator is supposed to use
>> com.xpn.xwiki.XWiki#createUser API which automatically add the user in
>> the minimum groups.
>>
>> On Mon, Aug 24, 2015 at 4:11 PM, Thomas Mortagne
>> <[email protected]> wrote:
>>>
>>> The minimum group is XWiki.XWikiAllGroup.
>>>
>>> On Mon, Aug 24, 2015 at 1:50 PM, Tim Dudgeon
>>> <[email protected]> wrote:
>>>>
>>>> On 24/08/2015 04:24, Thomas Mortagne wrote:
>>>>>
>>>>>
>>>>> Sounds like your user is not added in the right group(s) (which mean
>>>>> it does not have any right).
>>>>
>>>>
>>>>
>>>> Quite likely. But what groups are needed?
>>>>
>>>>
>>>> Tim
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>
>>
>>
>>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to