Hi Andreas,

 > Hi Rainer,
 > 
 > Rainer Schöpf schrieb:
 > > Hello,
 > > 
 > > I want to create a new role, to that is like "editor", but only for some
 > > publication(s). How would I do that? Can I simply add a file
 > > 
 > >   .../pubs/default/config/access-control/passwd/testers.rml
 > > 
 > > and reference the role in the publication's usecase-policy.xml file?
 > 
 > yes, that should be sufficient.

Thanks, that works.

 > > Another question: from the lenya startpage, I can create a new publication
 > > without logging in. On the usecases page, only the role sitemanager is
 > > listed for the usecase templating.createPublicationFromTemplate. I had
 > > expected a login screen when I try to create a new publication via the web
 > > gui.
 > 
 > Usecase policies don't have an effect outside publications, that's why the
 > usecase isn't protected when it is invoked on the Lenya start page. If you
 > want this protection, you could for instance add a menu item "Create new
 > publication" to your publication menu.

Yes, I understand, but how can I prevent anonymous execution of the usecase? 
Even if I remove the link on the welcome page, I can still execute it by adding

 ?lenya.usecase=templating.createPublicationFromTemplate

to the welcome page URL.

Confused,
 Rainer

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

Reply via email to