Changing it or subclassing it (and registering the new user manager), yes.

Florent

On Wed, Oct 13, 2010 at 4:41 PM, Jesus Ibañez Calvo
<[email protected]> wrote:
> Hello!!
>
> Thanks for your response, i just need to do it for security reasons in order
> to avoid users can grant permissions to it on their documents, in fact i use
> this anonymous user to show some special types of documents by granting and
> rejecting permissions via hard coded.
>
> Changing "UserManagerImpl" Is the only way to do it?
>
> Thanks again.
>
> Jesus
>
>
> On Tue, Oct 12, 2010 at 10:05 AM, Florent Guillaume <[email protected]> wrote:
>>
>> It's not possible at the moment. You would have to change or subclass
>> the UserManagerImpl (method isAnonymousMatching).
>>
>> But if you do that you'll never be able to see the anonymous user in
>> the ACL screens so you'll never be able to give it any rights...
>>
>> What's the problem with showing the anonymous user in searches?
>>
>> Florent
>>
>> On Tue, Oct 12, 2010 at 6:12 AM, Jesus Ibañez Calvo
>> <[email protected]> wrote:
>> > Hello!!
>> >
>> > Is possible to define an unsearchable anonymous user?
>> >
>> > i have my contribution as follows but it does not work:
>> >
>> > <extension target="org.nuxeo.ecm.platform.usermanager.UserService"
>> > point="userManager">
>> >     <userManager>
>> >       <users>
>> >         <anonymousUser id="publico" searchable="false">
>> >           <property name="firstName">Publico</property>
>> >           <property name="lastName">General</property>
>> >         </anonymousUser>
>> >       </users>
>> >     </userManager>
>> >   </extension>
>> >
>> > Any clue?
>> >
>> > Thks.
>> >
>> > --
>> > Jesus
>> >
>> > _______________________________________________
>> > ECM mailing list
>> > [email protected]
>> > http://lists.nuxeo.com/mailman/listinfo/ecm
>> > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>> >
>> >
>>
>>
>>
>> --
>> Florent Guillaume, Director of R&D, Nuxeo
>> Open Source, Java EE based, Enterprise Content Management (ECM)
>> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>
>
>
> --
> Jesus
>



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to