Paloma Gomez wrote:
Hi Jörn,
try adding
<usecase id="edit.eventcalendar">
<role id="admin"/>
<role id="editor"/>
</usecase>
to <yourpub>/config/ac/usecase-policies.xml, or (if you inherit this
file) to your template publication.
Thanks for your answer. I knew that might work, however I thought this
list was somehow generated automatically because of the following
comment at the beginning of the default/config/ac/usecase-policies.xml
file:
[code]
<!--+++NOTE+++ The usecase list was initialized using
modules/usecase-impl/xslt/initUsecasePolicies.xsl.-->
[/code]
So, the only way of configuring it is doing it manually, isn't it?
it is generated automatically during build, but currently only with
"admin" roles. in order to make the cms usable for non-admins, you have
to tweak it manually.
but you are right, if your module registers a usecase in cocoon.xconf,
there should be an automatic entry for admin at least. maybe there's a
bug, the whole thing is very new.
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
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]