You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by dave- <da...@pacbell.net> on 2005/03/21 19:12:14 UTC

bypassing login screen

I would like to author a lenya publication without having to login.  
What is the best way to do that?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: bypassing login screen

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
dave- wrote:

> That allowed me read access but I am unable to edit.  I set world to 
> have both "edit" and "review" functions.  Lenya reports a "generic 
> exception" when you try to edit stating that the "username is null."

hmm that's right.. without login there is no session, which trips up the 
revision controller

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: bypassing login screen

Posted by dave- <da...@pacbell.net>.
Gregor J. Rothfuss wrote:

> dave- wrote:
>
>> Gregor J. Rothfuss wrote:
>>
>>> dave- wrote:
>>>
>>>> I would like to author a lenya publication without having to 
>>>> login.  What is the best way to do that?
>>>
>>> change your access control to allow access to authoring to world
>>
>> I have been unable to figure out how to do that.  Is this done under 
>> the admin tab or be editing some file?
>
> i think the world credential is not exposed in the admin ui. you'll 
> have to edit config/ac/policies/authoring/subtree-policy to read:
>
> <policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
>
>   <world>
>     <role id="review"/>
>   </world>
>
> </policy>

That allowed me read access but I am unable to edit.  I set world to 
have both "edit" and "review" functions.  Lenya reports a "generic 
exception" when you try to edit stating that the "username is null."

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: bypassing login screen

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
dave- wrote:
> Gregor J. Rothfuss wrote:
> 
>> dave- wrote:
>>
>>> I would like to author a lenya publication without having to login.  
>>> What is the best way to do that?
>>
>>
>> change your access control to allow access to authoring to world
> 
> 
> I have been unable to figure out how to do that.  Is this done under the 
> admin tab or be editing some file?

i think the world credential is not exposed in the admin ui. you'll have 
to edit config/ac/policies/authoring/subtree-policy to read:

<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">

   <world>
     <role id="review"/>
   </world>

</policy>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: bypassing login screen

Posted by dave- <da...@pacbell.net>.
Gregor J. Rothfuss wrote:

> dave- wrote:
>
>> I would like to author a lenya publication without having to login.  
>> What is the best way to do that?
>
> change your access control to allow access to authoring to world

I have been unable to figure out how to do that.  Is this done under the 
admin tab or be editing some file?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: bypassing login screen

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
dave- wrote:
> I would like to author a lenya publication without having to login.  
> What is the best way to do that?

change your access control to allow access to authoring to world

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org