Re: [Hypercontent-users] Add New users
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2006-11-16 23:16:56
|
Based on the portlet.zip provided by you, I got lot of them working now, even the approvals and sending mails also working fine. I had to change the following in the approvals.xml's save event <redirect location="${abs-server-base}${path}?mode=interactive&screen=workflow.approvals"/> I had to insert the ${abs-server-base} Check whether you need to change this. I ignored the navigation/site map feature deliberately and wanted to get the others going, I focussed on the html and pdf output only, html output works fine but pdf does not generate the contents but a blank pdf file. Currently am usings the xsls which came with portlet.zip with unchanged. my projectdefinition.xml groups.xml, permission.xml are listed below <cms-project> <build> <filesystem-def name="Project build" type="local"> <argument index="0" value="/home/test/installations/buildHypercontent/"/> </filesystem-def> </build> <publish> <filesystem-def name="Project publish" type="local"> <argument index="0" value="/home/test/installations/publishHypercontent/"/> </filesystem-def> </publish> <resource-directory create="manual" label="Html File" path="/**/*.html" publish="true"> <content type="text/html"/> <content type="image/jpeg"/> </resource-directory> <resource-directory create="manual" label="css" path="/**/*.css" publish="true"> <content type="text/plain"/> </resource-directory> <xml-doctype create="manual" definition="" label="Page" path="/**/index.xml" root="html"> <output basedir="/plain/" content-type="text/html"> <transform source="/config/skins/plain/common.xsl"> <with-param name="link-base" value="/plain"/> </transform> </output> <output basedir="/pdf/" content-type="application/pdf"> <include data="yes" metadata="no" source="navigation.xml"/> <transform source="/config/skins/pdf/common_fo.xsl"/> </output> </xml-doctype> <resource-directory create="manual" label="JPEG" path="/**/*.jpg" publish="true"> <content type="image/jpeg"/> </resource-directory> <resource-directory create="manual" label="GIF" path="/**/*.gif" publish="true"> <content type="image/gif"/> </resource-directory> <resource-directory create="manual" label="PNG" path="/**/*.png" publish="false"> <content type="image/png"/> <output basedir="/" content-type="image/png"/> <output basedir="/" content-type="image/gif"> <filter key="image"/> </output> <output basedir="/" content-type="image/jpeg"> <filter key="image"> <with-param name="quality" value=".75"/> </filter> </output> </resource-directory> <resource-directory create="manual" label="XSL" path="/config/skins/**/*.xsl" publish="false"> <content type="application/xml+xslt"/> </resource-directory> <resource-directory create="manual" label="folder" path="/**/" publish="true"/> <resource-directory create="manual" label="XML" path="/**/*.xml" publish="false"> <content type="application/xml+xslt"/> </resource-directory> <resource-directory create="manual" label="DTD" path="/config/dtd/*" publish="false"> <content type="application/xml-dtd"/> <output basedir="/" content-type="text/plain"/> </resource-directory> </cms-project groups.xml <groups> <group name="group:consumers"> <group name="group:anybody"/> </group> <group name="group:authors"> <user name="36862"/> <user name="author"/> </group> <group name="group:approvers"> <user name="10065"/> </group> <group name="group:publishers"> <user name="publisher"/> <user name="10065"/> </group> <group name="group:admin"> <user name="admin"/> </group> </groups permissions.xml <permissions> <permission activity="read" denied="false" principal="group:anybody" target="/**/*.*"/> <permission activity="read" denied="true" principal="group:anybody" target="/config/**/*.*"/> <permission activity="read" denied="true" principal="group:anybody" target="/config/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/design/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/xsl/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/dtd/**/"/> <permission activity="read" denied="true" principal="group:anybody" target="/workflow-data/**/"/> <permission activity="read" denied="false" principal="group:authors" target="/**/"/> <permission activity="create" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="write" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="delete" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="build" denied="false" principal="group:authors" target="/**/"/> <permission activity="build" denied="false" principal="group:authors" target="/**/*.*"/> <permission activity="read" denied="false" principal="group:approvers" target="/**/"/> <permission activity="create" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="write" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="delete" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="approve" denied="false" principal="group:approvers" target="/**/*.*"/> <permission activity="read" denied="false" principal="group:publishers" target="/**/"/> <permission activity="publish" denied="false" principal="group:publishers" target="/**/"/> <permission activity="publish" denied="false" principal="group:publishers" target="/**/*.*"/> </permissions --- Alex Vigdor <al...@bi...> wrote: > > On Nov 15, 2006, at 6:22 PM, tom tom wrote: > > > Hi, > > > > If someone decides to keep the existing login > > mechanism instead of casifying the HC. How can we > do > > the following. > > > > How can we add new users to the HC. Also how can > we > > change the passwords of the existing users (e.g. > > author) > > User files are stored in the bootstrap repository > under the pattern / > users/*/*/*/user.xml, broken up by the first two > letters as such: > > /users/a/ad/admin/user.xml > > where admin is the username. You can add them in > the GUI by going to > > http://localhost:8080/users/?mode=interactive > > Click or add the first letter, then first two > letters, then the third > directory must exactly match the username. > > While you're editing the user.xml file, you can use > the password > editor to create a new password. There is no way to > retrieve the > password - it is stored as a hash in the XML file. > When user files > are automatically created (e.g. with CAS login), the > user is granted > permission to edit their own file (and thus their > email and > password), but if you create the files manually you > also have to > manually grant them write permission on their user > file (if they > should be able to change their password or email). > > > > > > > > Need to know the following as well > > > > If a approver login to the HC and clicks right top > > corner to update his details ( e.g email address). > > > > Shouldnt he gets an email when the author do some > > change to a existing file. (assume author is not > in > > the approve role). > > > > I changed the smtp properties, doent have any ldap > > configuration, but I was under the impression > still it > > should work as he has updated his profile. > > > > I did not change approvals.xml as it should send > mail > > to all the members of the approval group. > > > > Check the log for errors, and check the approval > workflow screen > which might show some errors on the task - click > more details a > couple of times to potentially get a stack trace. > > If you'd like to send your groups and permissions > xml files I'll have > a look at them as well. > > Cheers, > Alex > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Sponsored Link Compare mortgage rates for today. Get up to 5 free quotes. Www2.nextag.com |