Hi Andreas, Thanks, that makes things clearer.
Regards, Paloma 2006/6/26, Andreas Hartmann <[EMAIL PROTECTED]>:
Jörn Nettingsmeier wrote: > 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, No, ATM you have to generate it manually. > 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. See above - but maybe we need a better solution for this. -- Andreas -- Andreas Hartmann Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
