Andreas Hartmann wrote:
> Joern Nettingsmeier wrote:
>> Andreas Hartmann wrote:
>>> Josias Thöny wrote:
>>>> Hi devs,
>>>>
>>>> Currently the logout entry is disabled in the menu, because there is no
>>>> policy.
>>>> However, it's possible to call ?lenya.usecase=ac.logout directly.
>>>> So I guess the login/logout usecases ignore policies, which probably
>>>> makes sense.
>>> Yes, these usecases are matched in the main sitemap above the
>>> authorized pipelines.
>>>
>>>
>>>> But how can we re-enable the logout menu-item? 
>>> I guess we just have to add the usecase policy. Or should we handle
>>> these usecases in a special way, e.g.
>>>
>>>
>>> <usecases xmlns="http://apache.org/cocoon/lenya/ac/1.0";>
>>>   ...
>>>   <usecase id="ac.login" protect="false"/>
>>>   ...
>>> </usecases>
>>
>> can't we just use the mechanisms which are there?
>>
>> add role "session".
>>
>> <world>
>>   <role id="session"/>
>> </world>
> 
> That would mean to open the authoring area for everyone ...

sorry, i just typed the stuff from memory without checking.
what i meant was:
create a new role "session", add world to this role, check for that role
in the ac.log[in|out] usecases.



-- 
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
        - Ásmundur Sveinsson (1893-1982)

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to