Re: [Hypercontent-users] download zip facility
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-08-28 00:41:14
|
Hi Alex, I did the following 1)In my project permissions.xml I did add the following entry <permission principal ="group:publishers" target="/**/" activity="read"/> <permission principal ="group:publishers" target="/**/*.*" activity="read"/> 2) In the bootstrap project I changed as follows <permission principal ="group:anybody" target="/screens/**/*.html" activity="read"/> But when I go to the workflow screen and press the download zip, this time it did not give a authorization exception but just stays in the please-wait.html. It does not show the download link, When I click show details, it gives the following. Should I have to do anything else. Processing Error ZIP file must have at least one entry [java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:291), org.hypercontent.workflow.exec.impl.ZippingExecutable.execute(ZippingExecutable.java:139), org.hypercontent.workflow.exec.impl.AbstractExecutable.runWithException(AbstractExecutable.java:127), org.hypercontent.workflow.exec.impl.AbstractExecutable.run(AbstractExecutable.java:147), org.hypercontent.workflow.queue.impl.ExecutableQueueRunner.run(ExecutableQueueRunner.java:106), org.hypercontent.workflow.thread.CPQThread.run(CPQThread.java:62)] --- Alex Vigdor <al...@bi...> wrote: > Try adding a permission like this in the bootstrap > project: > > <permission principal ="group:anybody" > target="/screens/**/*.html" > activity="read"/> > > > On Aug 26, 2007, at 10:43 PM, tom tom wrote: > > > Hi Alex, > > > > I was on leave for couple of days, hence the > delay. > > > > Yes that is what I have tried but failed with the > > following authorization exception > > > > You are not authorized to access > > > http://localhost/hypercontent/screens/please-wait.html > > > > > > > > Thanks, > > Lalitha > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> Hi Tom Tom, > >> All anyone needs to execute download-zip is > "read" > >> permission on the > >> directory and files within it, e.g. > >> > >> <permission principal ="group:publishers" > >> target="/**/" > >> activity="read"/> > >> <permission principal ="group:publishers" > >> target="/**/*.*" > >> activity="read"/> > >> > >> Cheers, > >> Alex > >> > >> On Aug 19, 2007, at 8:44 PM, tom tom wrote: > >> > >>> Hi Alex, > >>> > >>> If some other group apart from admin, to have > the > >>> download zip facility, how can we change the > >>> permission.xml. > >>> > >>> For. e.g publishers want to have the download > zip > >>> facility in addition to the administrators. > >>> > >>> Thanks, > >>> > >>> > >>> > >>> > >> > > > ______________________________________________________________________ > >> > >>> ______________ > >>> Boardwalk for $500? In 2007? Ha! Play Monopoly > >> Here and Now (it's > >>> updated for today's economy) at Yahoo! Games. > >>> > >> > > > http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow > >>> > >>> > >> > > > ---------------------------------------------------------------------- > >> > >>> --- > >>> This SF.net email is sponsored by: Splunk Inc. > >>> Still grepping through log files to find > problems? > >> Stop. > >>> Now Search log events and configuration files > >> using AJAX and a > >>> browser. > >>> Download your FREE copy of Splunk now >> > >> http://get.splunk.com/ > >>> _______________________________________________ > >>> Hypercontent-users mailing list > >>> Hyp...@li... > >>> > >> > > > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > >>> > >> > >> > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > Looking for a deal? Find great prices on flights > and hotels with > > Yahoo! FareChase. > > http://farechase.yahoo.com/ > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? > Stop. > Now Search log events and configuration files using > AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 |