Bruce Perryman wrote:
Clicking on my first publication (tutorial) yields the following:

No attribute named "create-use-case" is associated with the configuration element "user-type" at file:/C:/apache-tomcat-5.5.23/webapps/lenya/lenya/pubs/iPraze/config/access-control/access-control.xml:8:60

woops. another publication instantiator bug - thanks for spotting, should be trivial to fix.

to get you up and running, please change your access-control.xml to read
<user-manager>
  <user-type
     class="org.apache.lenya.ac.file.FileUser"
     create-use-case="admin.addUser">Local User</user-type>
</user-manager>

iirc, andreas recently fixed the create-use-case attribute (it was silently ignored before), and apparently the publication instantiator was not updated... i'll try to hit this one on sunday if no one beats me to it.

thanks bruce for your testing efforts, and sorry for the hassle you are encountering. your testing is especially valuable for us since you are using tomcat (most people test with the built-in jetty) under windows (most devs i'm aware of use linux or osx). hope you enjoy lenya despite its little quirks!

regards,

jörn



--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

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

Reply via email to