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.


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.

HTH,

-- Andreas

--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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

Reply via email to